#D8F562#D8F562
#D8F562 is a very light, vivid yellow-green. Relative luminance 0.808; OKLCH L 92.1% C 0.173 H 119.4°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).
Color values
| HEX | #D8F562 |
|---|---|
| RGB | rgb(216, 245, 98) |
| HSL | hsl(72, 88%, 67%) |
| HSV | hsv(72, 60%, 96%) |
| CMYK | cmyk(11.8%, 0%, 60%, 3.9%) |
| CIE-LAB | lab(92.04, -29.32, 65.76) |
| CIE-LCH | lch(92.04, 72.00, 114.03°) |
| OKLab | oklab(92.13% -0.0851 0.1512) |
| OKLCH | oklch(92.13% 0.174 119.4) |
| XYZ | xyz(63.1768, 80.7859, 23.8179) |
| Luminance | 0.8079 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 2.73
Yellow Green
#C8FD3D
ΔE00 4.39
Yellowy Green
#BFF128
ΔE00 4.66
Lime Yellow
#D0FE1D
ΔE00 5.14
Greeny Yellow
#C6F808
ΔE00 5.26
Light Yellow Green
#CCFD7F
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8F562 #7F62F5
analogous
#F5C962 #D8F562 #8EF562
triadic
#D8F562 #62D8F5 #F562D8
tetradic
#D8F562 #62F5C9 #7F62F5 #F5628E
square
#D8F562 #62F5C9 #7F62F5 #F5628E
split-complementary
#D8F562 #628EF5 #C962F5
monochromatic
#A9CF0D #CAF128 #D8F562 #E6F99C #F5FCD5
Accessibility & contrast
On white
1.22
#D8F562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.16
#D8F562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8F562
17.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8F562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8F562 | 1.00 | 1.22 | 17.16 | 17.16 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE851
Deuteranopia (green-blind)
#FFE96C
Tritanopia (blue-blind)
#E3E9D6
Achromatopsia (no color)
#E8E8E8
Design tokens & code
CSS
--color: #d8f562; /* rgb */ color: rgb(216, 245, 98); /* oklch */ color: oklch(92.1% 0.173 119.4);
Tailwind
colors: {
custom: {
50: '#e7f894',
500: '#d8f562',
950: '#000000',
},
}SCSS
$custom: #d8f562; $custom-light: #e7f894; $custom-dark: #000000;
JSON
{
"hex": "#d8f562",
"rgb": {
"r": 216,
"g": 245,
"b": 98
},
"hsl": {
"h": 71.837,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.92126,
"c": 0.1735,
"h": 119.4
},
"luminance": 0.80786
}Semantic roles & 50–950 ramp
primary
#D8F562
secondary
#4F30CB
accent
#01E52E
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F