#E7E170#E7E170
#E7E170 is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.2% C 0.135 H 106.1°. Best body text is #000000 at 15.40:1 contrast (WCAG AA passes).
Color values
| HEX | #E7E170 |
|---|---|
| RGB | rgb(231, 225, 112) |
| HSL | hsl(57, 71%, 67%) |
| HSV | hsv(57, 52%, 91%) |
| CMYK | cmyk(0%, 2.6%, 51.5%, 9.4%) |
| CIE-LAB | lab(87.97, -12.66, 55.32) |
| CIE-LCH | lch(87.97, 56.75, 102.89°) |
| OKLab | oklab(89.19% -0.0375 0.1301) |
| OKLCH | oklch(89.19% 0.135 106.1) |
| XYZ | xyz(62.8065, 72.0110, 25.9172) |
| Luminance | 0.7201 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 3.71
Dull Yellow
#EEDC5B
ΔE00 3.82
Sandy Yellow
#FDEE73
ΔE00 4.05
Yellowish
#FAEE66
ΔE00 4.27
Straw
#FCF679
ΔE00 4.63
Sandy
#F1DA7A
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7E170 #7076E7
analogous
#E7A670 #E7E170 #B1E770
triadic
#E7E170 #70E7E1 #E170E7
tetradic
#E7E170 #70E7A6 #7076E7 #E770B1
square
#E7E170 #70E7A6 #7076E7 #E770B1
split-complementary
#E7E170 #70B1E7 #A670E7
monochromatic
#BDB520 #DED63C #E7E170 #F0ECA4 #F9F7D9
Accessibility & contrast
On white
1.36
#E7E170 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.40
#E7E170 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7E170
15.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7E170 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7E170 | 1.00 | 1.36 | 15.40 | 15.40 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1DA65
Deuteranopia (green-blind)
#F4DF76
Tritanopia (blue-blind)
#F5D5C7
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #e7e170; /* rgb */ color: rgb(231, 225, 112); /* oklch */ color: oklch(89.2% 0.135 106.1);
Tailwind
colors: {
custom: {
50: '#f1ea9c',
500: '#e7e170',
950: '#000000',
},
}SCSS
$custom: #e7e170; $custom-light: #f1ea9c; $custom-dark: #000000;
JSON
{
"hex": "#e7e170",
"rgb": {
"r": 231,
"g": 225,
"b": 112
},
"hsl": {
"h": 56.975,
"s": 71.257,
"l": 67.255
},
"oklch": {
"l": 0.89194,
"c": 0.13536,
"h": 106.1
},
"luminance": 0.72009
}Semantic roles & 50–950 ramp
primary
#E7E170
secondary
#3F45BC
accent
#1CD312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F