#E9D772#E9D772
#E9D772 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.3% C 0.124 H 99.4°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).
Color values
| HEX | #E9D772 |
|---|---|
| RGB | rgb(233, 215, 114) |
| HSL | hsl(51, 73%, 68%) |
| HSV | hsv(51, 51%, 91%) |
| CMYK | cmyk(0%, 7.7%, 51.1%, 8.6%) |
| CIE-LAB | lab(85.58, -6.67, 51.58) |
| CIE-LCH | lch(85.58, 52.01, 97.37°) |
| OKLab | oklab(87.34% -0.0202 0.1221) |
| OKLCH | oklch(87.34% 0.124 99.4) |
| XYZ | xyz(60.9439, 67.1417, 25.6657) |
| Luminance | 0.6714 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.87
Dull Yellow
#EEDC5B
ΔE00 3.56
Wheat (survey)
#FBDD7E
ΔE00 4.02
Sand (survey)
#E2CA76
ΔE00 4.18
Khaki (CSS)
#F0E68C
ΔE00 4.22
Pale Gold
#FDDE6C
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E9D772 #7284E9
analogous
#E99B72 #E9D772 #C0E972
triadic
#E9D772 #72E9D7 #D772E9
tetradic
#E9D772 #72E99B #7284E9 #E972C0
square
#E9D772 #72E99B #7284E9 #E972C0
split-complementary
#E9D772 #72C0E9 #9B72E9
monochromatic
#C2A91E #E1C83D #E9D772 #F1E6A7 #FAF5DC
Accessibility & contrast
On white
1.46
#E9D772 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.43
#E9D772 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E9D772
14.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E9D772 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E9D772 | 1.00 | 1.46 | 14.43 | 14.43 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D269
Deuteranopia (green-blind)
#EDD976
Tritanopia (blue-blind)
#F8CAC0
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e9d772; /* rgb */ color: rgb(233, 215, 114); /* oklch */ color: oklch(87.3% 0.124 99.4);
Tailwind
colors: {
custom: {
50: '#f2e39d',
500: '#e9d772',
950: '#000000',
},
}SCSS
$custom: #e9d772; $custom-light: #f2e39d; $custom-dark: #000000;
JSON
{
"hex": "#e9d772",
"rgb": {
"r": 233,
"g": 215,
"b": 114
},
"hsl": {
"h": 50.924,
"s": 73.006,
"l": 68.039
},
"oklch": {
"l": 0.87337,
"c": 0.12374,
"h": 99.4
},
"luminance": 0.67139
}Semantic roles & 50–950 ramp
primary
#E9D772
secondary
#3E52C1
accent
#2ED510
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F