#E8D272#E8D272
#E8D272 is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 86.2% C 0.119 H 96.7°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D272 |
|---|---|
| RGB | rgb(232, 210, 114) |
| HSL | hsl(49, 72%, 68%) |
| HSV | hsv(49, 51%, 91%) |
| CMYK | cmyk(0%, 9.5%, 50.9%, 9%) |
| CIE-LAB | lab(84.21, -4.53, 49.93) |
| CIE-LCH | lch(84.21, 50.13, 95.19°) |
| OKLab | oklab(86.23% -0.014 0.1185) |
| OKLCH | oklch(86.23% 0.119 96.7) |
| XYZ | xyz(59.3645, 64.4663, 25.2325) |
| Luminance | 0.6446 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.91
Sand (survey)
#E2CA76
ΔE00 2.64
Wheat (survey)
#FBDD7E
ΔE00 3.63
Light Mustard
#F7D560
ΔE00 4.14
Pale Gold
#FDDE6C
ΔE00 4.35
Dull Yellow
#EEDC5B
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D272 #7288E8
analogous
#E89772 #E8D272 #C3E872
triadic
#E8D272 #72E8D2 #D272E8
tetradic
#E8D272 #72E897 #7288E8 #E872C3
square
#E8D272 #72E897 #7288E8 #E872C3
split-complementary
#E8D272 #72C3E8 #9772E8
monochromatic
#C0A21F #DFC13D #E8D272 #F1E3A7 #F9F4DB
Accessibility & contrast
On white
1.51
#E8D272 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.89
#E8D272 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D272
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D272 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D272 | 1.00 | 1.51 | 13.89 | 13.89 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CE6A
Deuteranopia (green-blind)
#E9D576
Tritanopia (blue-blind)
#F7C5BC
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #e8d272; /* rgb */ color: rgb(232, 210, 114); /* oklch */ color: oklch(86.2% 0.119 96.7);
Tailwind
colors: {
custom: {
50: '#f1df9d',
500: '#e8d272',
950: '#000000',
},
}SCSS
$custom: #e8d272; $custom-light: #f1df9d; $custom-dark: #000000;
JSON
{
"hex": "#e8d272",
"rgb": {
"r": 232,
"g": 210,
"b": 114
},
"hsl": {
"h": 48.814,
"s": 71.951,
"l": 67.843
},
"oklch": {
"l": 0.86233,
"c": 0.11927,
"h": 96.7
},
"luminance": 0.64464
}Semantic roles & 50–950 ramp
primary
#E8D272
secondary
#3F57BF
accent
#36D411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F