#D2E052
Closest named color: darkkhaki
About this color
#D2E052 is a light yellow color. In RGB it is 210, 224, 82, and its closest named color is darkkhaki. Text in black is easiest to read on it, with a contrast ratio of 14.52:1.
Copy the value you need
Click any row to copy it.
Is text readable on #D2E052?
Contrast against white and black text.
Fails WCAG contrast
Passes AAA for all text
Make it lighter or darker
Shades keep the same hue. Click one to open the closest color page.
Softer versions (tints)
Mixed with white.
Muted versions (tones)
Mixed with gray.
Colors that go with #D2E052
Ready-made pairings from the color wheel.
Explore the color wheel · More colors that go with darkkhaki
How it looks with color blindness
Simulated for common types.
#D2E052
#EFD53F
#EED85C
#DFD4C3
Copy the code
CSS, Sass and Tailwind.
color: #d2e052;
background-color: #d2e052;
--brand: #d2e052;
$brand: #d2e052;
bg-[#d2e052] text-[#d2e052] border-[#d2e052]
Similar colors
Nearby colors you might prefer.
Common questions
What is the RGB value of #D2E052?
#D2E052 is rgb(210, 224, 82).
What is the closest named color to #D2E052?
The closest CSS named color is darkkhaki (#BDB76B).
What color goes well with #D2E052?
Its complementary color is #6052E0. Analogous colors at #E0A752 and #8BE052 also work well.
Should I use white or black text on #D2E052?
Black text is easier to read, with a contrast ratio of 14.52:1.
Use this color anywhere
Data, embeds and tools.
Recently viewed
Saved only in this browser.