#D2E04A#D2E04A
#D2E04A is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 86.9% C 0.169 H 114.5°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).
Color values
| HEX | #D2E04A |
|---|---|
| RGB | rgb(210, 224, 74) |
| HSL | hsl(66, 71%, 58%) |
| HSV | hsv(66, 67%, 88%) |
| CMYK | cmyk(6.3%, 0%, 67%, 12.2%) |
| CIE-LAB | lab(85.76, -23.30, 68.52) |
| CIE-LCH | lch(85.76, 72.38, 108.78°) |
| OKLab | oklab(86.92% -0.0703 0.1538) |
| OKLCH | oklch(86.92% 0.169 114.5) |
| XYZ | xyz(54.4715, 67.5083, 16.6382) |
| Luminance | 0.6751 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 2.63
Green Yellow
#B5CE08
ΔE00 5.55
Yellowish Green
#B0DD16
ΔE00 5.90
Off Yellow
#F1F33F
ΔE00 6.03
Piss Yellow
#DDD618
ΔE00 6.07
Yellowy Green
#BFF128
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2E04A #584AE0
analogous
#E0A34A #D2E04A #87E04A
triadic
#D2E04A #4AD2E0 #E04AD2
tetradic
#D2E04A #4AE0A3 #584AE0 #E04A87
square
#D2E04A #4AE0A3 #584AE0 #E04A87
split-complementary
#D2E04A #4A87E0 #A34AE0
monochromatic
#8A961A #BBCA23 #D2E04A #DFE97E #ECF2B3
Accessibility & contrast
On white
1.45
#D2E04A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.50
#D2E04A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2E04A
14.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2E04A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2E04A | 1.00 | 1.45 | 14.50 | 14.50 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F0D533
Deuteranopia (green-blind)
#EFD855
Tritanopia (blue-blind)
#DFD3C2
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #d2e04a; /* rgb */ color: rgb(210, 224, 74); /* oklch */ color: oklch(86.9% 0.169 114.5);
Tailwind
colors: {
custom: {
50: '#e3e985',
500: '#d2e04a',
950: '#000000',
},
}SCSS
$custom: #d2e04a; $custom-light: #e3e985; $custom-dark: #000000;
JSON
{
"hex": "#d2e04a",
"rgb": {
"r": 210,
"g": 224,
"b": 74
},
"hsl": {
"h": 65.6,
"s": 70.755,
"l": 58.431
},
"oklch": {
"l": 0.86923,
"c": 0.16913,
"h": 114.5
},
"luminance": 0.67507
}Semantic roles & 50–950 ramp
primary
#D2E04A
secondary
#3E349A
accent
#3AEE4B
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16160C
muted
#84847F