#D8F968#D8F968
#D8F968 is a very light, vivid yellow-green. Relative luminance 0.834; OKLCH L 93.1% C 0.173 H 120.7°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).
Color values
| HEX | #D8F968 |
|---|---|
| RGB | rgb(216, 249, 104) |
| HSL | hsl(74, 92%, 69%) |
| HSV | hsv(74, 58%, 98%) |
| CMYK | cmyk(13.3%, 0%, 58.2%, 2.4%) |
| CIE-LAB | lab(93.17, -30.73, 64.50) |
| CIE-LCH | lch(93.17, 71.44, 115.47°) |
| OKLab | oklab(93.05% -0.0885 0.1492) |
| OKLCH | oklch(93.05% 0.173 120.7) |
| XYZ | xyz(64.6940, 83.3499, 25.7740) |
| Luminance | 0.8335 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 2.09
Yellow Green
#C8FD3D
ΔE00 4.12
Light Yellow Green
#CCFD7F
ΔE00 4.35
Yellowy Green
#BFF128
ΔE00 4.90
Lime Yellow
#D0FE1D
ΔE00 5.23
Greeny Yellow
#C6F808
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8F968 #8968F9
analogous
#F9D268 #D8F968 #90F968
triadic
#D8F968 #68D8F9 #F968D8
tetradic
#D8F968 #68F9D2 #8968F9 #F96890
square
#D8F968 #68F9D2 #8968F9 #F96890
split-complementary
#D8F968 #6890F9 #D268F9
monochromatic
#ADDE09 #C9F72D #D8F968 #E7FBA3 #F6FEDE
Accessibility & contrast
On white
1.19
#D8F968 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.67
#D8F968 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8F968
17.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8F968 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8F968 | 1.00 | 1.19 | 17.67 | 17.67 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC58
Deuteranopia (green-blind)
#FFEC71
Tritanopia (blue-blind)
#E3EDDA
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #d8f968; /* rgb */ color: rgb(216, 249, 104); /* oklch */ color: oklch(93.1% 0.173 120.7);
Tailwind
colors: {
custom: {
50: '#e7fb98',
500: '#d8f968',
950: '#000000',
},
}SCSS
$custom: #d8f968; $custom-light: #e7fb98; $custom-dark: #000000;
JSON
{
"hex": "#d8f968",
"rgb": {
"r": 216,
"g": 249,
"b": 104
},
"hsl": {
"h": 73.655,
"s": 92.357,
"l": 69.216
},
"oklch": {
"l": 0.93052,
"c": 0.17348,
"h": 120.7
},
"luminance": 0.8335
}Semantic roles & 50–950 ramp
primary
#D8F968
secondary
#5732D3
accent
#00E634
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F