#D9F862#D9F862
#D9F862 is a very light, vivid yellow-green. Relative luminance 0.828; OKLCH L 92.8% C 0.177 H 119.9°. Best body text is #000000 at 17.55:1 contrast (WCAG AA passes).
Color values
| HEX | #D9F862 |
|---|---|
| RGB | rgb(217, 248, 98) |
| HSL | hsl(72, 91%, 68%) |
| HSV | hsv(72, 60%, 97%) |
| CMYK | cmyk(12.5%, 0%, 60.5%, 2.7%) |
| CIE-LAB | lab(92.91, -30.32, 66.74) |
| CIE-LCH | lch(92.91, 73.30, 114.43°) |
| OKLab | oklab(92.85% -0.088 0.1532) |
| OKLCH | oklch(92.85% 0.177 119.9) |
| XYZ | xyz(64.3882, 82.7686, 24.1368) |
| Luminance | 0.8277 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 2.48
Yellow Green
#C8FD3D
ΔE00 3.97
Yellowy Green
#BFF128
ΔE00 4.59
Lime Yellow
#D0FE1D
ΔE00 4.76
Greeny Yellow
#C6F808
ΔE00 5.01
Light Yellow Green
#CCFD7F
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9F862 #8162F8
analogous
#F8CC62 #D9F862 #8EF862
triadic
#D9F862 #62D9F8 #F862D9
tetradic
#D9F862 #62F8CC #8162F8 #F8628E
square
#D9F862 #62F8CC #8162F8 #F8628E
split-complementary
#D9F862 #628EF8 #CC62F8
monochromatic
#ACD60A #CBF527 #D9F862 #E7FB9D #F5FDD7
Accessibility & contrast
On white
1.20
#D9F862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.55
#D9F862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9F862
17.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9F862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9F862 | 1.00 | 1.20 | 17.55 | 17.55 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB50
Deuteranopia (green-blind)
#FFEB6C
Tritanopia (blue-blind)
#E4ECD8
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #d9f862; /* rgb */ color: rgb(217, 248, 98); /* oklch */ color: oklch(92.8% 0.177 119.9);
Tailwind
colors: {
custom: {
50: '#e8fa94',
500: '#d9f862',
950: '#000000',
},
}SCSS
$custom: #d9f862; $custom-light: #e8fa94; $custom-dark: #000000;
JSON
{
"hex": "#d9f862",
"rgb": {
"r": 217,
"g": 248,
"b": 98
},
"hsl": {
"h": 72.4,
"s": 91.463,
"l": 67.843
},
"oklch": {
"l": 0.92847,
"c": 0.1767,
"h": 119.9
},
"luminance": 0.82768
}Semantic roles & 50–950 ramp
primary
#D9F862
secondary
#4F2ED0
accent
#00E62F
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F