#D5E166#D5E166
#D5E166 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 87.6% C 0.148 H 114.1°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).
Color values
| HEX | #D5E166 |
|---|---|
| RGB | rgb(213, 225, 102) |
| HSL | hsl(66, 67%, 64%) |
| HSV | hsv(66, 55%, 88%) |
| CMYK | cmyk(5.3%, 0%, 54.7%, 11.8%) |
| CIE-LAB | lab(86.48, -20.67, 57.78) |
| CIE-LCH | lch(86.48, 61.36, 109.68°) |
| OKLab | oklab(87.63% -0.0602 0.1347) |
| OKLCH | oklch(87.63% 0.148 114.1) |
| XYZ | xyz(56.7652, 68.9568, 22.8875) |
| Luminance | 0.6896 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 5.31
Greenish Beige
#C9D179
ΔE00 5.73
Straw
#FCF679
ΔE00 6.74
Yellowish Tan
#FCFC81
ΔE00 6.84
Khaki (CSS)
#F0E68C
ΔE00 6.97
Pear
#CBF85F
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5E166 #7266E1
analogous
#E1B066 #D5E166 #98E166
triadic
#D5E166 #66D5E1 #E166D5
tetradic
#D5E166 #66E1B0 #7266E1 #E16698
square
#D5E166 #66E1B0 #7266E1 #E16698
split-complementary
#D5E166 #6698E1 #B066E1
monochromatic
#9EAB22 #C7D733 #D5E166 #E3EB99 #F1F5CC
Accessibility & contrast
On white
1.42
#D5E166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.79
#D5E166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D5E166
14.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5E166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5E166 | 1.00 | 1.42 | 14.79 | 14.79 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD759
Deuteranopia (green-blind)
#EFDA6D
Tritanopia (blue-blind)
#E1D5C6
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #d5e166; /* rgb */ color: rgb(213, 225, 102); /* oklch */ color: oklch(87.6% 0.148 114.1);
Tailwind
colors: {
custom: {
50: '#e4ea95',
500: '#d5e166',
950: '#000000',
},
}SCSS
$custom: #d5e166; $custom-light: #e4ea95; $custom-dark: #000000;
JSON
{
"hex": "#d5e166",
"rgb": {
"r": 213,
"g": 225,
"b": 102
},
"hsl": {
"h": 65.854,
"s": 67.213,
"l": 64.118
},
"oklch": {
"l": 0.87631,
"c": 0.14752,
"h": 114.1
},
"luminance": 0.68956
}Semantic roles & 50–950 ramp
primary
#D5E166
secondary
#493EAD
accent
#16CF28
background
#FEFEFC
surface
#FDFDF5
border
#D5D5CF
text
#16160E
muted
#84847F