#D8E968#D8E968
#D8E968 is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 89.6% C 0.154 H 115.9°. Best body text is #000000 at 15.78:1 contrast (WCAG AA passes).
Color values
| HEX | #D8E968 |
|---|---|
| RGB | rgb(216, 233, 104) |
| HSL | hsl(68, 75%, 66%) |
| HSV | hsv(68, 55%, 91%) |
| CMYK | cmyk(7.3%, 0%, 55.4%, 8.6%) |
| CIE-LAB | lab(88.86, -23.18, 59.66) |
| CIE-LCH | lch(88.86, 64.01, 111.24°) |
| OKLab | oklab(89.6% -0.0673 0.1389) |
| OKLCH | oklch(89.6% 0.154 115.9) |
| XYZ | xyz(59.9576, 73.8770, 24.1952) |
| Luminance | 0.7388 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 5.05
Pear
#CBF85F
ΔE00 5.44
Yellowish Tan
#FCFC81
ΔE00 6.01
Faded Yellow
#FEFF7F
ΔE00 6.32
Straw
#FCF679
ΔE00 6.37
Butter
#FFFF81
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8E968 #7968E9
analogous
#E9B968 #D8E968 #97E968
triadic
#D8E968 #68D8E9 #E968D8
tetradic
#D8E968 #68E9B9 #7968E9 #E96897
square
#D8E968 #68E9B9 #7968E9 #E96897
split-complementary
#D8E968 #6897E9 #B968E9
monochromatic
#A6BB1B #CAE133 #D8E968 #E6F19D #F4F9D3
Accessibility & contrast
On white
1.33
#D8E968 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.78
#D8E968 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8E968
15.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8E968 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8E968 | 1.00 | 1.33 | 15.78 | 15.78 |
| #FFFFFF | 1.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7DE5B
Deuteranopia (green-blind)
#F6E070
Tritanopia (blue-blind)
#E4DDCD
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #d8e968; /* rgb */ color: rgb(216, 233, 104); /* oklch */ color: oklch(89.6% 0.154 115.9);
Tailwind
colors: {
custom: {
50: '#e6f097',
500: '#d8e968',
950: '#000000',
},
}SCSS
$custom: #d8e968; $custom-light: #e6f097; $custom-dark: #000000;
JSON
{
"hex": "#d8e968",
"rgb": {
"r": 216,
"g": 233,
"b": 104
},
"hsl": {
"h": 67.907,
"s": 74.566,
"l": 66.078
},
"oklch": {
"l": 0.89598,
"c": 0.15433,
"h": 115.9
},
"luminance": 0.73876
}Semantic roles & 50–950 ramp
primary
#D8E968
secondary
#4B3BBB
accent
#0FD729
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16160E
muted
#84857F