#D7E866#D7E866
#D7E866 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.3% C 0.155 H 115.9°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).
Color values
| HEX | #D7E866 |
|---|---|
| RGB | rgb(215, 232, 102) |
| HSL | hsl(68, 74%, 65%) |
| HSV | hsv(68, 56%, 91%) |
| CMYK | cmyk(7.3%, 0%, 56%, 9%) |
| CIE-LAB | lab(88.51, -23.26, 60.11) |
| CIE-LCH | lch(88.51, 64.46, 111.15°) |
| OKLab | oklab(89.29% -0.0677 0.1396) |
| OKLCH | oklch(89.29% 0.155 115.9) |
| XYZ | xyz(59.2803, 73.1204, 23.5586) |
| Luminance | 0.7312 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 4.87
Pear
#CBF85F
ΔE00 5.51
Yellowish Tan
#FCFC81
ΔE00 6.19
Straw
#FCF679
ΔE00 6.49
Faded Yellow
#FEFF7F
ΔE00 6.50
Butter
#FFFF81
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7E866 #7766E8
analogous
#E8B866 #D7E866 #96E866
triadic
#D7E866 #66D7E8 #E866D7
tetradic
#D7E866 #66E8B8 #7766E8 #E86696
square
#D7E866 #66E8B8 #7766E8 #E86696
split-complementary
#D7E866 #6696E8 #B866E8
monochromatic
#A4B81C #C9E031 #D7E866 #E5F09B #F3F8D0
Accessibility & contrast
On white
1.34
#D7E866 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.62
#D7E866 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7E866
15.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7E866 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7E866 | 1.00 | 1.34 | 15.62 | 15.62 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6DD58
Deuteranopia (green-blind)
#F5DF6E
Tritanopia (blue-blind)
#E3DCCC
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #d7e866; /* rgb */ color: rgb(215, 232, 102); /* oklch */ color: oklch(89.3% 0.155 115.9);
Tailwind
colors: {
custom: {
50: '#e6ef96',
500: '#d7e866',
950: '#000000',
},
}SCSS
$custom: #d7e866; $custom-light: #e6ef96; $custom-dark: #000000;
JSON
{
"hex": "#d7e866",
"rgb": {
"r": 215,
"g": 232,
"b": 102
},
"hsl": {
"h": 67.846,
"s": 73.864,
"l": 65.49
},
"oklch": {
"l": 0.89286,
"c": 0.15517,
"h": 115.9
},
"luminance": 0.7312
}Semantic roles & 50–950 ramp
primary
#D7E866
secondary
#4B3AB8
accent
#10D629
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16160E
muted
#84857F