#E7D158#E7D158
#E7D158 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.6% C 0.141 H 99.0°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D158 |
|---|---|
| RGB | rgb(231, 209, 88) |
| HSL | hsl(51, 75%, 63%) |
| HSV | hsv(51, 62%, 91%) |
| CMYK | cmyk(0%, 9.5%, 61.9%, 9.4%) |
| CIE-LAB | lab(83.60, -6.38, 61.11) |
| CIE-LCH | lch(83.60, 61.44, 95.96°) |
| OKLab | oklab(85.64% -0.0222 0.1397) |
| OKLCH | oklch(85.64% 0.141 99) |
| XYZ | xyz(57.5193, 63.2970, 18.4184) |
| Luminance | 0.6329 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.72
Light Mustard
#F7D560
ΔE00 3.59
Maize
#F4D054
ΔE00 3.75
Sand Yellow
#FCE166
ΔE00 4.03
Sandy
#F1DA7A
ΔE00 4.06
Light Gold
#FDDC5C
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D158 #586EE7
analogous
#E78958 #E7D158 #B6E758
triadic
#E7D158 #58E7D1 #D158E7
tetradic
#E7D158 #58E789 #586EE7 #E758B6
square
#E7D158 #58E789 #586EE7 #E758B6
split-complementary
#E7D158 #58B6E7 #8958E7
monochromatic
#AC9519 #DFC222 #E7D158 #EFE08E #F6EEC3
Accessibility & contrast
On white
1.54
#E7D158 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.66
#E7D158 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D158
13.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D158 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D158 | 1.00 | 1.54 | 13.66 | 13.66 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CC4A
Deuteranopia (green-blind)
#EAD45E
Tritanopia (blue-blind)
#F8C3B7
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e7d158; /* rgb */ color: rgb(231, 209, 88); /* oklch */ color: oklch(85.6% 0.141 99.0);
Tailwind
colors: {
custom: {
50: '#f2de8c',
500: '#e7d158',
950: '#000000',
},
}SCSS
$custom: #e7d158; $custom-light: #f2de8c; $custom-dark: #000000;
JSON
{
"hex": "#e7d158",
"rgb": {
"r": 231,
"g": 209,
"b": 88
},
"hsl": {
"h": 50.769,
"s": 74.869,
"l": 62.549
},
"oklch": {
"l": 0.85644,
"c": 0.14146,
"h": 99
},
"luminance": 0.63294
}Semantic roles & 50–950 ramp
primary
#E7D158
secondary
#3648AD
accent
#2DD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F