#D4E166#D4E166
#D4E166 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.6% C 0.148 H 114.5°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).
Color values
| HEX | #D4E166 |
|---|---|
| RGB | rgb(212, 225, 102) |
| HSL | hsl(66, 67%, 64%) |
| HSV | hsv(66, 55%, 88%) |
| CMYK | cmyk(5.8%, 0%, 54.7%, 11.8%) |
| CIE-LAB | lab(86.41, -21.07, 57.67) |
| CIE-LCH | lch(86.41, 61.40, 110.07°) |
| OKLab | oklab(87.55% -0.0613 0.1345) |
| OKLCH | oklch(87.55% 0.148 114.5) |
| XYZ | xyz(56.4759, 68.8077, 22.8739) |
| Luminance | 0.6881 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 5.33
Greenish Beige
#C9D179
ΔE00 5.71
Straw
#FCF679
ΔE00 6.92
Yellowish Tan
#FCFC81
ΔE00 6.97
Pear
#CBF85F
ΔE00 6.97
Khaki (CSS)
#F0E68C
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4E166 #7366E1
analogous
#E1B066 #D4E166 #97E166
triadic
#D4E166 #66D4E1 #E166D4
tetradic
#D4E166 #66E1B0 #7366E1 #E16697
square
#D4E166 #66E1B0 #7366E1 #E16697
split-complementary
#D4E166 #6697E1 #B066E1
monochromatic
#9DAB22 #C6D733 #D4E166 #E2EB99 #F1F5CC
Accessibility & contrast
On white
1.42
#D4E166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.76
#D4E166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4E166
14.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4E166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4E166 | 1.00 | 1.42 | 14.76 | 14.76 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD759
Deuteranopia (green-blind)
#EFD96D
Tritanopia (blue-blind)
#E0D5C6
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #d4e166; /* rgb */ color: rgb(212, 225, 102); /* oklch */ color: oklch(87.6% 0.148 114.5);
Tailwind
colors: {
custom: {
50: '#e3ea95',
500: '#d4e166',
950: '#000000',
},
}SCSS
$custom: #d4e166; $custom-light: #e3ea95; $custom-dark: #000000;
JSON
{
"hex": "#d4e166",
"rgb": {
"r": 212,
"g": 225,
"b": 102
},
"hsl": {
"h": 66.341,
"s": 67.213,
"l": 64.118
},
"oklch": {
"l": 0.87554,
"c": 0.14778,
"h": 114.5
},
"luminance": 0.68807
}Semantic roles & 50–950 ramp
primary
#D4E166
secondary
#4A3EAD
accent
#16CF2A
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F