#D8E652#D8E652
#D8E652 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 88.7% C 0.168 H 114.5°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).
Color values
| HEX | #D8E652 |
|---|---|
| RGB | rgb(216, 230, 82) |
| HSL | hsl(66, 75%, 61%) |
| HSV | hsv(66, 64%, 90%) |
| CMYK | cmyk(6.1%, 0%, 64.3%, 9.8%) |
| CIE-LAB | lab(87.87, -23.29, 67.77) |
| CIE-LCH | lch(87.87, 71.66, 108.97°) |
| OKLab | oklab(88.74% -0.0698 0.1533) |
| OKLCH | oklch(88.74% 0.168 114.5) |
| XYZ | xyz(58.1402, 71.8028, 18.7776) |
| Luminance | 0.7180 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 2.87
Off Yellow
#F1F33F
ΔE00 5.22
Yellowy Green
#BFF128
ΔE00 6.34
Canary
#FDFF63
ΔE00 6.37
Straw
#FCF679
ΔE00 6.39
Pear
#CBF85F
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8E652 #6052E6
analogous
#E6AA52 #D8E652 #8EE652
triadic
#D8E652 #52D8E6 #E652D8
tetradic
#D8E652 #52E6AA #6052E6 #E6528E
square
#D8E652 #52E6AA #6052E6 #E6528E
split-complementary
#D8E652 #528EE6 #AA52E6
monochromatic
#98A618 #C9DB20 #D8E652 #E4EE87 #F0F5BD
Accessibility & contrast
On white
1.37
#D8E652 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.36
#D8E652 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8E652
15.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8E652 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8E652 | 1.00 | 1.37 | 15.36 | 15.36 |
| #FFFFFF | 1.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6DB3E
Deuteranopia (green-blind)
#F5DE5C
Tritanopia (blue-blind)
#E5D9C8
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #d8e652; /* rgb */ color: rgb(216, 230, 82); /* oklch */ color: oklch(88.7% 0.168 114.5);
Tailwind
colors: {
custom: {
50: '#e7ed8a',
500: '#d8e652',
950: '#000000',
},
}SCSS
$custom: #d8e652; $custom-light: #e7ed8a; $custom-dark: #000000;
JSON
{
"hex": "#d8e652",
"rgb": {
"r": 216,
"g": 230,
"b": 82
},
"hsl": {
"h": 65.676,
"s": 74.747,
"l": 61.176
},
"oklch": {
"l": 0.88745,
"c": 0.16845,
"h": 114.5
},
"luminance": 0.71802
}Semantic roles & 50–950 ramp
primary
#D8E652
secondary
#3F34A8
accent
#0FD722
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F