#E7D56B#E7D56B
#E7D56B is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.7% C 0.128 H 99.8°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D56B |
|---|---|
| RGB | rgb(231, 213, 107) |
| HSL | hsl(51, 72%, 66%) |
| HSV | hsv(51, 54%, 91%) |
| CMYK | cmyk(0%, 7.8%, 53.7%, 9.4%) |
| CIE-LAB | lab(84.81, -7.04, 53.94) |
| CIE-LCH | lch(84.81, 54.39, 97.44°) |
| OKLab | oklab(86.67% -0.0219 0.1266) |
| OKLCH | oklch(86.67% 0.128 99.8) |
| XYZ | xyz(59.4051, 65.6412, 23.4479) |
| Luminance | 0.6564 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.51
Dull Yellow
#EEDC5B
ΔE00 3.10
Sand Yellow
#FCE166
ΔE00 4.24
Pale Gold
#FDDE6C
ΔE00 4.33
Sand (survey)
#E2CA76
ΔE00 4.37
Light Mustard
#F7D560
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D56B #6B7DE7
analogous
#E7976B #E7D56B #BBE76B
triadic
#E7D56B #6BE7D5 #D56BE7
tetradic
#E7D56B #6BE797 #6B7DE7 #E76BBB
square
#E7D56B #6BE797 #6B7DE7 #E76BBB
split-complementary
#E7D56B #6BBBE7 #976BE7
monochromatic
#BAA31E #DEC636 #E7D56B #F0E4A0 #F8F3D4
Accessibility & contrast
On white
1.49
#E7D56B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.13
#E7D56B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D56B
14.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D56B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D56B | 1.00 | 1.49 | 14.13 | 14.13 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D061
Deuteranopia (green-blind)
#EBD770
Tritanopia (blue-blind)
#F7C8BD
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e7d56b; /* rgb */ color: rgb(231, 213, 107); /* oklch */ color: oklch(86.7% 0.128 99.8);
Tailwind
colors: {
custom: {
50: '#f1e198',
500: '#e7d56b',
950: '#000000',
},
}SCSS
$custom: #e7d56b; $custom-light: #f1e198; $custom-dark: #000000;
JSON
{
"hex": "#e7d56b",
"rgb": {
"r": 231,
"g": 213,
"b": 107
},
"hsl": {
"h": 51.29,
"s": 72.093,
"l": 66.275
},
"oklch": {
"l": 0.86667,
"c": 0.12847,
"h": 99.8
},
"luminance": 0.65639
}Semantic roles & 50–950 ramp
primary
#E7D56B
secondary
#3D4FB9
accent
#2ED411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F