#D9E87F#D9E87F
#D9E87F is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 89.7% C 0.131 H 115.8°. Best body text is #000000 at 15.80:1 contrast (WCAG AA passes).
Color values
| HEX | #D9E87F |
|---|---|
| RGB | rgb(217, 232, 127) |
| HSL | hsl(69, 70%, 70%) |
| HSV | hsv(69, 45%, 91%) |
| CMYK | cmyk(6.5%, 0%, 45.3%, 9%) |
| CIE-LAB | lab(88.92, -20.25, 49.15) |
| CIE-LCH | lch(88.92, 53.15, 112.39°) |
| OKLab | oklab(89.74% -0.0569 0.1179) |
| OKLCH | oklch(89.74% 0.131 115.8) |
| XYZ | xyz(61.3033, 73.9979, 31.1281) |
| Luminance | 0.7400 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 4.75
Greenish Beige
#C9D179
ΔE00 5.53
Khaki (CSS)
#F0E68C
ΔE00 6.38
Yellowish Tan
#FCFC81
ΔE00 6.53
Manilla
#FFFA86
ΔE00 6.88
Pear
#CBF85F
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9E87F #8E7FE8
analogous
#E8C27F #D9E87F #A5E87F
triadic
#D9E87F #7FD9E8 #E87FD9
tetradic
#D9E87F #7FE8C2 #8E7FE8 #E87FA5
square
#D9E87F #7FE8C2 #8E7FE8 #E87FA5
split-complementary
#D9E87F #7FA5E8 #C27FE8
monochromatic
#B1C924 #CADF4B #D9E87F #E8F1B3 #F7FAE5
Accessibility & contrast
On white
1.33
#D9E87F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.80
#D9E87F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9E87F
15.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9E87F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9E87F | 1.00 | 1.33 | 15.80 | 15.80 |
| #FFFFFF | 1.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F5DF76
Deuteranopia (green-blind)
#F4E084
Tritanopia (blue-blind)
#E3DECF
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #d9e87f; /* rgb */ color: rgb(217, 232, 127); /* oklch */ color: oklch(89.7% 0.131 115.8);
Tailwind
colors: {
custom: {
50: '#e6efa6',
500: '#d9e87f',
950: '#000000',
},
}SCSS
$custom: #d9e87f; $custom-light: #e6efa6; $custom-dark: #000000;
JSON
{
"hex": "#d9e87f",
"rgb": {
"r": 217,
"g": 232,
"b": 127
},
"hsl": {
"h": 68.571,
"s": 69.536,
"l": 70.392
},
"oklch": {
"l": 0.89743,
"c": 0.13094,
"h": 115.8
},
"luminance": 0.73997
}Semantic roles & 50–950 ramp
primary
#D9E87F
secondary
#5B4BC1
accent
#14D22F
background
#FEFFFC
surface
#FDFEF6
border
#D5D6D0
text
#16160F
muted
#848580