#D9E862#D9E862
#D9E862 is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 89.4% C 0.158 H 115.0°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).
Color values
| HEX | #D9E862 |
|---|---|
| RGB | rgb(217, 232, 98) |
| HSL | hsl(67, 74%, 65%) |
| HSV | hsv(67, 58%, 91%) |
| CMYK | cmyk(6.5%, 0%, 57.8%, 9%) |
| CIE-LAB | lab(88.61, -22.77, 62.01) |
| CIE-LCH | lch(88.61, 66.06, 110.16°) |
| OKLab | oklab(89.4% -0.0668 0.1432) |
| OKLCH | oklch(89.4% 0.158 115) |
| XYZ | xyz(59.6777, 73.3477, 22.5666) |
| Luminance | 0.7335 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 4.37
Pear
#CBF85F
ΔE00 5.83
Yellowish Tan
#FCFC81
ΔE00 5.92
Straw
#FCF679
ΔE00 6.09
Off Yellow
#F1F33F
ΔE00 6.17
Faded Yellow
#FEFF7F
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9E862 #7162E8
analogous
#E8B462 #D9E862 #96E862
triadic
#D9E862 #62D9E8 #E862D9
tetradic
#D9E862 #62E8B4 #7162E8 #E86296
square
#D9E862 #62E8B4 #7162E8 #E86296
split-complementary
#D9E862 #6296E8 #B462E8
monochromatic
#A4B51B #CCE02D #D9E862 #E6F097 #F3F8CD
Accessibility & contrast
On white
1.34
#D9E862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.67
#D9E862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9E862
15.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9E862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9E862 | 1.00 | 1.34 | 15.67 | 15.67 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7DD53
Deuteranopia (green-blind)
#F6E06A
Tritanopia (blue-blind)
#E5DCCB
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #d9e862; /* rgb */ color: rgb(217, 232, 98); /* oklch */ color: oklch(89.4% 0.158 115.0);
Tailwind
colors: {
custom: {
50: '#e7ef93',
500: '#d9e862',
950: '#000000',
},
}SCSS
$custom: #d9e862; $custom-light: #e7ef93; $custom-dark: #000000;
JSON
{
"hex": "#d9e862",
"rgb": {
"r": 217,
"g": 232,
"b": 98
},
"hsl": {
"h": 66.716,
"s": 74.444,
"l": 64.706
},
"oklch": {
"l": 0.89397,
"c": 0.15801,
"h": 115
},
"luminance": 0.73347
}Semantic roles & 50–950 ramp
primary
#D9E862
secondary
#4739B5
accent
#0FD725
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F