#E7D56F#E7D56F
#E7D56F is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.7% C 0.125 H 99.5°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D56F |
|---|---|
| RGB | rgb(231, 213, 111) |
| HSL | hsl(51, 71%, 67%) |
| HSV | hsv(51, 52%, 91%) |
| CMYK | cmyk(0%, 7.8%, 51.9%, 9.4%) |
| CIE-LAB | lab(84.86, -6.72, 52.11) |
| CIE-LCH | lch(84.86, 52.54, 97.35°) |
| OKLab | oklab(86.72% -0.0205 0.123) |
| OKLCH | oklch(86.72% 0.125 99.5) |
| XYZ | xyz(59.6204, 65.7274, 24.5820) |
| Luminance | 0.6573 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.20
Dull Yellow
#EEDC5B
ΔE00 3.58
Sand (survey)
#E2CA76
ΔE00 3.99
Wheat (survey)
#FBDD7E
ΔE00 4.30
Pale Gold
#FDDE6C
ΔE00 4.44
Sand Yellow
#FCE166
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D56F #6F81E7
analogous
#E7996F #E7D56F #BDE76F
triadic
#E7D56F #6FE7D5 #D56FE7
tetradic
#E7D56F #6FE799 #6F81E7 #E76FBD
square
#E7D56F #6FE799 #6F81E7 #E76FBD
split-complementary
#E7D56F #6FBDE7 #996FE7
monochromatic
#BCA51F #DEC63B #E7D56F #F0E4A3 #F8F4D8
Accessibility & contrast
On white
1.48
#E7D56F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.15
#E7D56F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D56F
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D56F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D56F | 1.00 | 1.48 | 14.15 | 14.15 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D066
Deuteranopia (green-blind)
#EBD774
Tritanopia (blue-blind)
#F6C8BE
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e7d56f; /* rgb */ color: rgb(231, 213, 111); /* oklch */ color: oklch(86.7% 0.125 99.5);
Tailwind
colors: {
custom: {
50: '#f1e19b',
500: '#e7d56f',
950: '#000000',
},
}SCSS
$custom: #e7d56f; $custom-light: #f1e19b; $custom-dark: #000000;
JSON
{
"hex": "#e7d56f",
"rgb": {
"r": 231,
"g": 213,
"b": 111
},
"hsl": {
"h": 51,
"s": 71.429,
"l": 67.059
},
"oklch": {
"l": 0.86716,
"c": 0.12469,
"h": 99.5
},
"luminance": 0.65725
}Semantic roles & 50–950 ramp
primary
#E7D56F
secondary
#3F51BC
accent
#2FD312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F