#D8F962#D8F962
#D8F962 is a very light, vivid yellow-green. Relative luminance 0.832; OKLCH L 93.0% C 0.178 H 120.4°. Best body text is #000000 at 17.65:1 contrast (WCAG AA passes).
Color values
| HEX | #D8F962 |
|---|---|
| RGB | rgb(216, 249, 98) |
| HSL | hsl(73, 93%, 68%) |
| HSV | hsv(73, 61%, 98%) |
| CMYK | cmyk(13.3%, 0%, 60.6%, 2.4%) |
| CIE-LAB | lab(93.12, -31.17, 66.94) |
| CIE-LCH | lch(93.12, 73.84, 114.97°) |
| OKLab | oklab(92.99% -0.0903 0.1537) |
| OKLCH | oklch(92.99% 0.178 120.4) |
| XYZ | xyz(64.4000, 83.2323, 24.2257) |
| Luminance | 0.8323 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 2.18
Yellow Green
#C8FD3D
ΔE00 3.71
Yellowy Green
#BFF128
ΔE00 4.48
Lime Yellow
#D0FE1D
ΔE00 4.64
Light Yellow Green
#CCFD7F
ΔE00 4.88
Greeny Yellow
#C6F808
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8F962 #8362F9
analogous
#F9CF62 #D8F962 #8CF962
triadic
#D8F962 #62D8F9 #F962D8
tetradic
#D8F962 #62F9CF #8362F9 #F9628C
square
#D8F962 #62F9CF #8362F9 #F9628C
split-complementary
#D8F962 #628CF9 #CF62F9
monochromatic
#ABD808 #C9F727 #D8F962 #E7FB9D #F5FED8
Accessibility & contrast
On white
1.19
#D8F962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.65
#D8F962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8F962
17.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8F962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8F962 | 1.00 | 1.19 | 17.65 | 17.65 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC50
Deuteranopia (green-blind)
#FFEC6C
Tritanopia (blue-blind)
#E3EDD9
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #d8f962; /* rgb */ color: rgb(216, 249, 98); /* oklch */ color: oklch(93.0% 0.178 120.4);
Tailwind
colors: {
custom: {
50: '#e7fb94',
500: '#d8f962',
950: '#000000',
},
}SCSS
$custom: #d8f962; $custom-light: #e7fb94; $custom-dark: #000000;
JSON
{
"hex": "#d8f962",
"rgb": {
"r": 216,
"g": 249,
"b": 98
},
"hsl": {
"h": 73.113,
"s": 92.638,
"l": 68.039
},
"oklch": {
"l": 0.92994,
"c": 0.17825,
"h": 120.4
},
"luminance": 0.83232
}Semantic roles & 50–950 ramp
primary
#D8F962
secondary
#512DD2
accent
#00E632
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F