#E7D276#E7D276
#E7D276 is a very light, moderate yellow. Relative luminance 0.644; OKLCH L 86.2% C 0.115 H 96.8°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D276 |
|---|---|
| RGB | rgb(231, 210, 118) |
| HSL | hsl(49, 70%, 68%) |
| HSV | hsv(49, 49%, 91%) |
| CMYK | cmyk(0%, 9.1%, 48.9%, 9.4%) |
| CIE-LAB | lab(84.17, -4.59, 47.93) |
| CIE-LCH | lch(84.17, 48.15, 95.47°) |
| OKLab | oklab(86.2% -0.0137 0.1144) |
| OKLCH | oklch(86.2% 0.115 96.8) |
| XYZ | xyz(59.2734, 64.3924, 26.4428) |
| Luminance | 0.6439 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.03
Sand (survey)
#E2CA76
ΔE00 2.35
Wheat (survey)
#FBDD7E
ΔE00 3.78
Light Mustard
#F7D560
ΔE00 4.69
Pale Gold
#FDDE6C
ΔE00 4.81
Khaki (CSS)
#F0E68C
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D276 #768BE7
analogous
#E79976 #E7D276 #C3E776
triadic
#E7D276 #76E7D2 #D276E7
tetradic
#E7D276 #76E799 #768BE7 #E776C3
square
#E7D276 #76E799 #768BE7 #E776C3
split-complementary
#E7D276 #76C3E7 #9976E7
monochromatic
#C1A322 #DEC142 #E7D276 #F0E3AA #F9F4DE
Accessibility & contrast
On white
1.51
#E7D276 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.88
#E7D276 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D276
13.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D276 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D276 | 1.00 | 1.51 | 13.88 | 13.88 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CE6E
Deuteranopia (green-blind)
#E8D57A
Tritanopia (blue-blind)
#F6C6BC
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #e7d276; /* rgb */ color: rgb(231, 210, 118); /* oklch */ color: oklch(86.2% 0.115 96.8);
Tailwind
colors: {
custom: {
50: '#f1df9f',
500: '#e7d276',
950: '#000000',
},
}SCSS
$custom: #e7d276; $custom-light: #f1df9f; $custom-dark: #000000;
JSON
{
"hex": "#e7d276",
"rgb": {
"r": 231,
"g": 210,
"b": 118
},
"hsl": {
"h": 48.85,
"s": 70.186,
"l": 68.431
},
"oklch": {
"l": 0.86198,
"c": 0.1152,
"h": 96.8
},
"luminance": 0.6439
}Semantic roles & 50–950 ramp
primary
#E7D276
secondary
#425ABF
accent
#37D213
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480