#E7D170#E7D170
#E7D170 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.9% C 0.120 H 96.8°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D170 |
|---|---|
| RGB | rgb(231, 209, 112) |
| HSL | hsl(49, 71%, 67%) |
| HSV | hsv(49, 52%, 91%) |
| CMYK | cmyk(0%, 9.5%, 51.5%, 9.4%) |
| CIE-LAB | lab(83.84, -4.60, 50.42) |
| CIE-LCH | lch(83.84, 50.63, 95.21°) |
| OKLab | oklab(85.92% -0.0143 0.1194) |
| OKLCH | oklch(85.92% 0.12 96.8) |
| XYZ | xyz(58.6821, 63.7621, 24.5423) |
| Luminance | 0.6376 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.16
Sand (survey)
#E2CA76
ΔE00 2.60
Wheat (survey)
#FBDD7E
ΔE00 3.85
Light Mustard
#F7D560
ΔE00 4.12
Pale Gold
#FDDE6C
ΔE00 4.45
Dull Yellow
#EEDC5B
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D170 #7086E7
analogous
#E79670 #E7D170 #C1E770
triadic
#E7D170 #70E7D1 #D170E7
tetradic
#E7D170 #70E796 #7086E7 #E770C1
square
#E7D170 #70E796 #7086E7 #E770C1
split-complementary
#E7D170 #70C1E7 #9670E7
monochromatic
#BDA020 #DEC03C #E7D170 #F0E2A4 #F9F3D9
Accessibility & contrast
On white
1.53
#E7D170 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.75
#E7D170 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D170
13.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D170 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D170 | 1.00 | 1.53 | 13.75 | 13.75 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CD67
Deuteranopia (green-blind)
#E8D474
Tritanopia (blue-blind)
#F6C4BA
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e7d170; /* rgb */ color: rgb(231, 209, 112); /* oklch */ color: oklch(85.9% 0.120 96.8);
Tailwind
colors: {
custom: {
50: '#f1de9b',
500: '#e7d170',
950: '#000000',
},
}SCSS
$custom: #e7d170; $custom-light: #f1de9b; $custom-dark: #000000;
JSON
{
"hex": "#e7d170",
"rgb": {
"r": 231,
"g": 209,
"b": 112
},
"hsl": {
"h": 48.908,
"s": 71.257,
"l": 67.255
},
"oklch": {
"l": 0.85915,
"c": 0.12025,
"h": 96.8
},
"luminance": 0.6376
}Semantic roles & 50–950 ramp
primary
#E7D170
secondary
#3F56BC
accent
#36D312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F