#D1E166#D1E166
#D1E166 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.3% C 0.149 H 115.7°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).
Color values
| HEX | #D1E166 |
|---|---|
| RGB | rgb(209, 225, 102) |
| HSL | hsl(68, 67%, 64%) |
| HSV | hsv(68, 55%, 88%) |
| CMYK | cmyk(7.1%, 0%, 54.7%, 11.8%) |
| CIE-LAB | lab(86.19, -22.26, 57.36) |
| CIE-LCH | lch(86.19, 61.53, 111.21°) |
| OKLab | oklab(87.32% -0.0645 0.1338) |
| OKLCH | oklch(87.32% 0.149 115.7) |
| XYZ | xyz(55.6189, 68.3658, 22.8337) |
| Luminance | 0.6836 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 5.43
Greenish Beige
#C9D179
ΔE00 5.67
Pear
#CBF85F
ΔE00 6.56
Yellowish Green
#B0DD16
ΔE00 6.95
Green Yellow
#B5CE08
ΔE00 7.23
Yellowish Tan
#FCFC81
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1E166 #7666E1
analogous
#E1B466 #D1E166 #94E166
triadic
#D1E166 #66D1E1 #E166D1
tetradic
#D1E166 #66E1B4 #7666E1 #E16694
square
#D1E166 #66E1B4 #7666E1 #E16694
split-complementary
#D1E166 #6694E1 #B466E1
monochromatic
#99AB22 #C2D733 #D1E166 #E0EB99 #F0F5CC
Accessibility & contrast
On white
1.43
#D1E166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.67
#D1E166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D1E166
14.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1E166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D1E166 | 1.00 | 1.43 | 14.67 | 14.67 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD75A
Deuteranopia (green-blind)
#EED96D
Tritanopia (blue-blind)
#DCD6C6
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #d1e166; /* rgb */ color: rgb(209, 225, 102); /* oklch */ color: oklch(87.3% 0.149 115.7);
Tailwind
colors: {
custom: {
50: '#e1ea95',
500: '#d1e166',
950: '#000000',
},
}SCSS
$custom: #d1e166; $custom-light: #e1ea95; $custom-dark: #000000;
JSON
{
"hex": "#d1e166",
"rgb": {
"r": 209,
"g": 225,
"b": 102
},
"hsl": {
"h": 67.805,
"s": 67.213,
"l": 64.118
},
"oklch": {
"l": 0.87323,
"c": 0.14857,
"h": 115.7
},
"luminance": 0.68365
}Semantic roles & 50–950 ramp
primary
#D1E166
secondary
#4D3EAD
accent
#16CF2E
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F