#D2DF4E#D2DF4E
#D2DF4E is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 86.7% C 0.165 H 114.2°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #D2DF4E |
|---|---|
| RGB | rgb(210, 223, 78) |
| HSL | hsl(65, 69%, 59%) |
| HSV | hsv(65, 65%, 87%) |
| CMYK | cmyk(5.8%, 0%, 65%, 12.5%) |
| CIE-LAB | lab(85.52, -22.59, 66.75) |
| CIE-LCH | lch(85.52, 70.46, 108.70°) |
| OKLab | oklab(86.74% -0.0679 0.1507) |
| OKLCH | oklch(86.74% 0.165 114.2) |
| XYZ | xyz(54.3426, 67.0280, 17.2813) |
| Luminance | 0.6703 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 3.10
Green Yellow
#B5CE08
ΔE00 5.63
Yellowish Green
#B0DD16
ΔE00 6.13
Piss Yellow
#DDD618
ΔE00 6.14
Off Yellow
#F1F33F
ΔE00 6.30
Yellowy Green
#BFF128
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2DF4E #5B4EDF
analogous
#DFA44E #D2DF4E #8ADF4E
triadic
#D2DF4E #4ED2DF #DF4ED2
tetradic
#D2DF4E #4EDFA4 #5B4EDF #DF4E8A
square
#D2DF4E #4EDFA4 #5B4EDF #DF4E8A
split-complementary
#D2DF4E #4E8ADF #A44EDF
monochromatic
#8C971B #BCCB25 #D2DF4E #DFE882 #ECF2B6
Accessibility & contrast
On white
1.46
#D2DF4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.41
#D2DF4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2DF4E
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2DF4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2DF4E | 1.00 | 1.46 | 14.41 | 14.41 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD43A
Deuteranopia (green-blind)
#EED758
Tritanopia (blue-blind)
#DFD2C1
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #d2df4e; /* rgb */ color: rgb(210, 223, 78); /* oklch */ color: oklch(86.7% 0.165 114.2);
Tailwind
colors: {
custom: {
50: '#e3e887',
500: '#d2df4e',
950: '#000000',
},
}SCSS
$custom: #d2df4e; $custom-light: #e3e887; $custom-dark: #000000;
JSON
{
"hex": "#d2df4e",
"rgb": {
"r": 210,
"g": 223,
"b": 78
},
"hsl": {
"h": 65.379,
"s": 69.378,
"l": 59.02
},
"oklch": {
"l": 0.86738,
"c": 0.16529,
"h": 114.2
},
"luminance": 0.67027
}Semantic roles & 50–950 ramp
primary
#D2DF4E
secondary
#3F369B
accent
#3CEC4B
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F