#D7E166#D7E166
#D7E166 is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 87.8% C 0.147 H 113.3°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).
Color values
| HEX | #D7E166 |
|---|---|
| RGB | rgb(215, 225, 102) |
| HSL | hsl(65, 67%, 64%) |
| HSV | hsv(65, 55%, 88%) |
| CMYK | cmyk(4.4%, 0%, 54.7%, 11.8%) |
| CIE-LAB | lab(86.63, -19.87, 57.99) |
| CIE-LCH | lch(86.63, 61.30, 108.92°) |
| OKLab | oklab(87.79% -0.0581 0.1351) |
| OKLCH | oklch(87.79% 0.147 113.3) |
| XYZ | xyz(57.3490, 69.2578, 22.9148) |
| Luminance | 0.6926 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 5.32
Greenish Beige
#C9D179
ΔE00 5.81
Straw
#FCF679
ΔE00 6.40
Yellowish Tan
#FCFC81
ΔE00 6.59
Khaki (CSS)
#F0E68C
ΔE00 6.65
Yellowish
#FAEE66
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7E166 #7066E1
analogous
#E1AE66 #D7E166 #9AE166
triadic
#D7E166 #66D7E1 #E166D7
tetradic
#D7E166 #66E1AE #7066E1 #E1669A
square
#D7E166 #66E1AE #7066E1 #E1669A
split-complementary
#D7E166 #669AE1 #AE66E1
monochromatic
#A0AB22 #CAD733 #D7E166 #E4EB99 #F2F5CC
Accessibility & contrast
On white
1.41
#D7E166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.85
#D7E166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7E166
14.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7E166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7E166 | 1.00 | 1.41 | 14.85 | 14.85 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F0D759
Deuteranopia (green-blind)
#F0DA6D
Tritanopia (blue-blind)
#E3D5C6
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #d7e166; /* rgb */ color: rgb(215, 225, 102); /* oklch */ color: oklch(87.8% 0.147 113.3);
Tailwind
colors: {
custom: {
50: '#e6ea95',
500: '#d7e166',
950: '#000000',
},
}SCSS
$custom: #d7e166; $custom-light: #e6ea95; $custom-dark: #000000;
JSON
{
"hex": "#d7e166",
"rgb": {
"r": 215,
"g": 225,
"b": 102
},
"hsl": {
"h": 64.878,
"s": 67.213,
"l": 64.118
},
"oklch": {
"l": 0.87787,
"c": 0.14705,
"h": 113.3
},
"luminance": 0.69257
}Semantic roles & 50–950 ramp
primary
#D7E166
secondary
#473EAD
accent
#16CF25
background
#FEFEFC
surface
#FDFDF5
border
#D5D5CF
text
#16160E
muted
#84847F