#E7C96F#E7C96F
#E7C96F is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 84.3% C 0.115 H 91.4°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #E7C96F |
|---|---|
| RGB | rgb(231, 201, 111) |
| HSL | hsl(45, 71%, 67%) |
| HSV | hsv(45, 52%, 91%) |
| CMYK | cmyk(0%, 13%, 51.9%, 9.4%) |
| CIE-LAB | lab(81.79, -0.57, 48.44) |
| CIE-LCH | lch(81.79, 48.45, 90.68°) |
| OKLab | oklab(84.29% -0.0028 0.115) |
| OKLCH | oklch(84.29% 0.115 91.4) |
| XYZ | xyz(56.7130, 59.9125, 23.6128) |
| Luminance | 0.5991 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 1.84
Sandy
#F1DA7A
ΔE00 4.33
Light Mustard
#F7D560
ΔE00 4.59
Wheat (survey)
#FBDD7E
ΔE00 4.66
Maize
#F4D054
ΔE00 4.78
Pale Gold
#FDDE6C
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7C96F #6F8DE7
analogous
#E78D6F #E7C96F #C9E76F
triadic
#E7C96F #6FE7C9 #C96FE7
tetradic
#E7C96F #6FE78D #6F8DE7 #E76FC9
square
#E7C96F #6FE78D #6F8DE7 #E76FC9
split-complementary
#E7C96F #6FC9E7 #8D6FE7
monochromatic
#BC951F #DEB53B #E7C96F #F0DDA3 #F8F0D8
Accessibility & contrast
On white
1.62
#E7C96F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.98
#E7C96F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7C96F
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7C96F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7C96F | 1.00 | 1.62 | 12.98 | 12.98 |
| #FFFFFF | 1.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC667
Deuteranopia (green-blind)
#E2CF72
Tritanopia (blue-blind)
#F7BCB4
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #e7c96f; /* rgb */ color: rgb(231, 201, 111); /* oklch */ color: oklch(84.3% 0.115 91.4);
Tailwind
colors: {
custom: {
50: '#f1d99a',
500: '#e7c96f',
950: '#000000',
},
}SCSS
$custom: #e7c96f; $custom-light: #f1d99a; $custom-dark: #000000;
JSON
{
"hex": "#e7c96f",
"rgb": {
"r": 231,
"g": 201,
"b": 111
},
"hsl": {
"h": 45,
"s": 71.429,
"l": 67.059
},
"oklch": {
"l": 0.84291,
"c": 0.11499,
"h": 91.4
},
"luminance": 0.5991
}Semantic roles & 50–950 ramp
primary
#E7C96F
secondary
#3F5EBC
accent
#42D312
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F