#E7D66B#E7D66B
#E7D66B is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.9% C 0.129 H 100.4°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D66B |
|---|---|
| RGB | rgb(231, 214, 107) |
| HSL | hsl(52, 72%, 66%) |
| HSV | hsv(52, 54%, 91%) |
| CMYK | cmyk(0%, 7.4%, 53.7%, 9.4%) |
| CIE-LAB | lab(85.07, -7.55, 54.24) |
| CIE-LCH | lch(85.07, 54.76, 97.92°) |
| OKLab | oklab(86.87% -0.0234 0.1272) |
| OKLCH | oklch(86.87% 0.129 100.4) |
| XYZ | xyz(59.6574, 66.1458, 23.5320) |
| Luminance | 0.6614 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.66
Dull Yellow
#EEDC5B
ΔE00 2.91
Sand Yellow
#FCE166
ΔE00 4.21
Pale Gold
#FDDE6C
ΔE00 4.43
Yellow Tan
#FFE36E
ΔE00 4.50
Light Mustard
#F7D560
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D66B #6B7CE7
analogous
#E7986B #E7D66B #BAE76B
triadic
#E7D66B #6BE7D6 #D66BE7
tetradic
#E7D66B #6BE798 #6B7CE7 #E76BBA
square
#E7D66B #6BE798 #6B7CE7 #E76BBA
split-complementary
#E7D66B #6BBAE7 #986BE7
monochromatic
#BAA41E #DEC736 #E7D66B #F0E5A0 #F8F3D4
Accessibility & contrast
On white
1.48
#E7D66B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.23
#E7D66B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D66B
14.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D66B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D66B | 1.00 | 1.48 | 14.23 | 14.23 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D161
Deuteranopia (green-blind)
#ECD770
Tritanopia (blue-blind)
#F6C9BE
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e7d66b; /* rgb */ color: rgb(231, 214, 107); /* oklch */ color: oklch(86.9% 0.129 100.4);
Tailwind
colors: {
custom: {
50: '#f1e298',
500: '#e7d66b',
950: '#000000',
},
}SCSS
$custom: #e7d66b; $custom-light: #f1e298; $custom-dark: #000000;
JSON
{
"hex": "#e7d66b",
"rgb": {
"r": 231,
"g": 214,
"b": 107
},
"hsl": {
"h": 51.774,
"s": 72.093,
"l": 66.275
},
"oklch": {
"l": 0.86871,
"c": 0.12936,
"h": 100.4
},
"luminance": 0.66144
}Semantic roles & 50–950 ramp
primary
#E7D66B
secondary
#3D4EB9
accent
#2CD411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F