#E7D756#E7D756
#E7D756 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.9% C 0.148 H 102.2°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D756 |
|---|---|
| RGB | rgb(231, 215, 86) |
| HSL | hsl(53, 75%, 62%) |
| HSV | hsv(53, 63%, 91%) |
| CMYK | cmyk(0%, 6.9%, 62.8%, 9.4%) |
| CIE-LAB | lab(85.13, -9.54, 63.61) |
| CIE-LCH | lch(85.13, 64.33, 98.53°) |
| OKLab | oklab(86.86% -0.0314 0.1447) |
| OKLCH | oklch(86.86% 0.148 102.2) |
| XYZ | xyz(58.9375, 66.2640, 18.4880) |
| Luminance | 0.6626 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.32
Sand Yellow
#FCE166
ΔE00 3.99
Piss Yellow
#DDD618
ΔE00 4.63
Yellow Tan
#FFE36E
ΔE00 4.72
Light Gold
#FDDC5C
ΔE00 4.77
Sandy
#F1DA7A
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D756 #5666E7
analogous
#E78E56 #E7D756 #AFE756
triadic
#E7D756 #56E7D7 #D756E7
tetradic
#E7D756 #56E78E #5666E7 #E756AF
square
#E7D756 #56E78E #5666E7 #E756AF
split-complementary
#E7D756 #56AFE7 #8E56E7
monochromatic
#AA9A18 #DFCA20 #E7D756 #EFE48C #F6F0C1
Accessibility & contrast
On white
1.47
#E7D756 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.25
#E7D756 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D756
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D756 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D756 | 1.00 | 1.47 | 14.25 | 14.25 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D146
Deuteranopia (green-blind)
#EED85D
Tritanopia (blue-blind)
#F8C9BC
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e7d756; /* rgb */ color: rgb(231, 215, 86); /* oklch */ color: oklch(86.9% 0.148 102.2);
Tailwind
colors: {
custom: {
50: '#f2e38b',
500: '#e7d756',
950: '#000000',
},
}SCSS
$custom: #e7d756; $custom-light: #f2e38b; $custom-dark: #000000;
JSON
{
"hex": "#e7d756",
"rgb": {
"r": 231,
"g": 215,
"b": 86
},
"hsl": {
"h": 53.379,
"s": 75.13,
"l": 62.157
},
"oklch": {
"l": 0.86855,
"c": 0.1481,
"h": 102.2
},
"luminance": 0.66262
}Semantic roles & 50–950 ramp
primary
#E7D756
secondary
#3542AC
accent
#24D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F