#D2E04F#D2E04F
#D2E04F is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.0% C 0.166 H 114.6°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).
Color values
| HEX | #D2E04F |
|---|---|
| RGB | rgb(210, 224, 79) |
| HSL | hsl(66, 70%, 59%) |
| HSV | hsv(66, 65%, 88%) |
| CMYK | cmyk(6.3%, 0%, 64.7%, 12.2%) |
| CIE-LAB | lab(85.80, -23.01, 66.64) |
| CIE-LCH | lch(85.80, 70.50, 109.05°) |
| OKLab | oklab(86.96% -0.069 0.1506) |
| OKLCH | oklch(86.96% 0.166 114.6) |
| XYZ | xyz(54.6466, 67.5784, 17.5608) |
| Luminance | 0.6758 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 3.05
Green Yellow
#B5CE08
ΔE00 5.74
Yellowish Green
#B0DD16
ΔE00 6.02
Off Yellow
#F1F33F
ΔE00 6.28
Piss Yellow
#DDD618
ΔE00 6.38
Yellowy Green
#BFF128
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2E04F #5D4FE0
analogous
#E0A64F #D2E04F #8AE04F
triadic
#D2E04F #4FD2E0 #E04FD2
tetradic
#D2E04F #4FE0A6 #5D4FE0 #E04F8A
square
#D2E04F #4FE0A6 #5D4FE0 #E04F8A
split-complementary
#D2E04F #4F8AE0 #A64FE0
monochromatic
#8D9A1B #BDCE24 #D2E04F #DFE983 #EDF2B7
Accessibility & contrast
On white
1.45
#D2E04F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.52
#D2E04F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2E04F
14.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2E04F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2E04F | 1.00 | 1.45 | 14.52 | 14.52 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD53B
Deuteranopia (green-blind)
#EFD859
Tritanopia (blue-blind)
#DFD3C2
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #d2e04f; /* rgb */ color: rgb(210, 224, 79); /* oklch */ color: oklch(87.0% 0.166 114.6);
Tailwind
colors: {
custom: {
50: '#e3e987',
500: '#d2e04f',
950: '#000000',
},
}SCSS
$custom: #d2e04f; $custom-light: #e3e987; $custom-dark: #000000;
JSON
{
"hex": "#d2e04f",
"rgb": {
"r": 210,
"g": 224,
"b": 79
},
"hsl": {
"h": 65.793,
"s": 70.048,
"l": 59.412
},
"oklch": {
"l": 0.86963,
"c": 0.16567,
"h": 114.6
},
"luminance": 0.67577
}Semantic roles & 50–950 ramp
primary
#D2E04F
secondary
#40369D
accent
#3BED4C
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F