#E7D174#E7D174
#E7D174 is a very light, moderate yellow. Relative luminance 0.639; OKLCH L 86.0% C 0.116 H 96.4°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D174 |
|---|---|
| RGB | rgb(231, 209, 116) |
| HSL | hsl(49, 71%, 68%) |
| HSV | hsv(49, 50%, 91%) |
| CMYK | cmyk(0%, 9.5%, 49.8%, 9.4%) |
| CIE-LAB | lab(83.89, -4.25, 48.56) |
| CIE-LCH | lch(83.89, 48.74, 95.01°) |
| OKLab | oklab(85.97% -0.0129 0.1156) |
| OKLCH | oklch(85.97% 0.116 96.4) |
| XYZ | xyz(58.9097, 63.8531, 25.7414) |
| Luminance | 0.6385 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.15
Sand (survey)
#E2CA76
ΔE00 2.19
Wheat (survey)
#FBDD7E
ΔE00 3.76
Light Mustard
#F7D560
ΔE00 4.45
Pale Gold
#FDDE6C
ΔE00 4.72
Maize
#F4D054
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D174 #748AE7
analogous
#E79774 #E7D174 #C3E774
triadic
#E7D174 #74E7D1 #D174E7
tetradic
#E7D174 #74E797 #748AE7 #E774C3
square
#E7D174 #74E797 #748AE7 #E774C3
split-complementary
#E7D174 #74C3E7 #9774E7
monochromatic
#C0A121 #DEC040 #E7D174 #F0E2A8 #F9F4DC
Accessibility & contrast
On white
1.53
#E7D174 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.77
#E7D174 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D174
13.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D174 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D174 | 1.00 | 1.53 | 13.77 | 13.77 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CD6C
Deuteranopia (green-blind)
#E7D478
Tritanopia (blue-blind)
#F6C5BB
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e7d174; /* rgb */ color: rgb(231, 209, 116); /* oklch */ color: oklch(86.0% 0.116 96.4);
Tailwind
colors: {
custom: {
50: '#f1de9e',
500: '#e7d174',
950: '#000000',
},
}SCSS
$custom: #e7d174; $custom-light: #f1de9e; $custom-dark: #000000;
JSON
{
"hex": "#e7d174",
"rgb": {
"r": 231,
"g": 209,
"b": 116
},
"hsl": {
"h": 48.522,
"s": 70.552,
"l": 68.039
},
"oklch": {
"l": 0.85968,
"c": 0.11634,
"h": 96.4
},
"luminance": 0.63851
}Semantic roles & 50–950 ramp
primary
#E7D174
secondary
#4159BF
accent
#38D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F