#E7D86F#E7D86F
#E7D86F is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.3% C 0.127 H 101.3°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D86F |
|---|---|
| RGB | rgb(231, 216, 111) |
| HSL | hsl(53, 71%, 67%) |
| HSV | hsv(53, 52%, 91%) |
| CMYK | cmyk(0%, 6.5%, 51.9%, 9.4%) |
| CIE-LAB | lab(85.63, -8.24, 53.03) |
| CIE-LCH | lch(85.63, 53.66, 98.83°) |
| OKLab | oklab(87.33% -0.0249 0.125) |
| OKLCH | oklch(87.33% 0.127 101.3) |
| XYZ | xyz(60.3820, 67.2505, 24.8358) |
| Luminance | 0.6725 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.75
Dull Yellow
#EEDC5B
ΔE00 3.13
Khaki (CSS)
#F0E68C
ΔE00 4.09
Sand Yellow
#FCE166
ΔE00 4.46
Yellow Tan
#FFE36E
ΔE00 4.67
Pale Gold
#FDDE6C
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D86F #6F7EE7
analogous
#E79C6F #E7D86F #BAE76F
triadic
#E7D86F #6FE7D8 #D86FE7
tetradic
#E7D86F #6FE79C #6F7EE7 #E76FBA
square
#E7D86F #6FE79C #6F7EE7 #E76FBA
split-complementary
#E7D86F #6FBAE7 #9C6FE7
monochromatic
#BCA91F #DECA3B #E7D86F #F0E6A3 #F8F4D8
Accessibility & contrast
On white
1.45
#E7D86F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.45
#E7D86F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D86F
14.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D86F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D86F | 1.00 | 1.45 | 14.45 | 14.45 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D265
Deuteranopia (green-blind)
#EDD974
Tritanopia (blue-blind)
#F6CBC0
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e7d86f; /* rgb */ color: rgb(231, 216, 111); /* oklch */ color: oklch(87.3% 0.127 101.3);
Tailwind
colors: {
custom: {
50: '#f1e39b',
500: '#e7d86f',
950: '#000000',
},
}SCSS
$custom: #e7d86f; $custom-light: #f1e39b; $custom-dark: #000000;
JSON
{
"hex": "#e7d86f",
"rgb": {
"r": 231,
"g": 216,
"b": 111
},
"hsl": {
"h": 52.5,
"s": 71.429,
"l": 67.059
},
"oklch": {
"l": 0.87329,
"c": 0.12744,
"h": 101.3
},
"luminance": 0.67248
}Semantic roles & 50–950 ramp
primary
#E7D86F
secondary
#3F4EBC
accent
#2AD312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F