#E7D156#E7D156
#E7D156 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.6% C 0.143 H 99.2°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D156 |
|---|---|
| RGB | rgb(231, 209, 86) |
| HSL | hsl(51, 75%, 62%) |
| HSV | hsv(51, 63%, 91%) |
| CMYK | cmyk(0%, 9.5%, 62.8%, 9.4%) |
| CIE-LAB | lab(83.58, -6.51, 61.95) |
| CIE-LCH | lch(83.58, 62.29, 96.00°) |
| OKLab | oklab(85.63% -0.0227 0.1412) |
| OKLCH | oklch(85.63% 0.143 99.2) |
| XYZ | xyz(57.4376, 63.2643, 17.9881) |
| Luminance | 0.6326 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.67
Light Mustard
#F7D560
ΔE00 3.65
Maize
#F4D054
ΔE00 3.75
Sand Yellow
#FCE166
ΔE00 4.04
Light Gold
#FDDC5C
ΔE00 4.09
Sandy
#F1DA7A
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D156 #566CE7
analogous
#E78956 #E7D156 #B4E756
triadic
#E7D156 #56E7D1 #D156E7
tetradic
#E7D156 #56E789 #566CE7 #E756B4
square
#E7D156 #56E789 #566CE7 #E756B4
split-complementary
#E7D156 #56B4E7 #8956E7
monochromatic
#AA9418 #DFC220 #E7D156 #EFE08C #F6EEC1
Accessibility & contrast
On white
1.54
#E7D156 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.65
#E7D156 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D156
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D156 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D156 | 1.00 | 1.54 | 13.65 | 13.65 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CC48
Deuteranopia (green-blind)
#EAD45C
Tritanopia (blue-blind)
#F8C3B7
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e7d156; /* rgb */ color: rgb(231, 209, 86); /* oklch */ color: oklch(85.6% 0.143 99.2);
Tailwind
colors: {
custom: {
50: '#f2de8b',
500: '#e7d156',
950: '#000000',
},
}SCSS
$custom: #e7d156; $custom-light: #f2de8b; $custom-dark: #000000;
JSON
{
"hex": "#e7d156",
"rgb": {
"r": 231,
"g": 209,
"b": 86
},
"hsl": {
"h": 50.897,
"s": 75.13,
"l": 62.157
},
"oklch": {
"l": 0.85625,
"c": 0.14303,
"h": 99.2
},
"luminance": 0.63262
}Semantic roles & 50–950 ramp
primary
#E7D156
secondary
#3547AC
accent
#2DD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F