#E8CC4D#E8CC4D
#E8CC4D is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.6% C 0.146 H 96.6°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).
Color values
| HEX | #E8CC4D |
|---|---|
| RGB | rgb(232, 204, 77) |
| HSL | hsl(49, 77%, 61%) |
| HSV | hsv(49, 67%, 91%) |
| CMYK | cmyk(0%, 12.1%, 66.8%, 9%) |
| CIE-LAB | lab(82.31, -4.07, 64.39) |
| CIE-LCH | lch(82.31, 64.52, 93.62°) |
| OKLab | oklab(84.62% -0.0169 0.145) |
| OKLCH | oklch(84.62% 0.146 96.6) |
| XYZ | xyz(56.2138, 60.8802, 15.8098) |
| Luminance | 0.6088 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 2.53
Light Mustard
#F7D560
ΔE00 3.16
Light Gold
#FDDC5C
ΔE00 4.08
Dull Yellow
#EEDC5B
ΔE00 4.29
Pale Gold
#FDDE6C
ΔE00 4.69
Sand Yellow
#FCE166
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8CC4D #4D69E8
analogous
#E87E4D #E8CC4D #B7E84D
triadic
#E8CC4D #4DE8CC #CC4DE8
tetradic
#E8CC4D #4DE87E #4D69E8 #E84DB7
square
#E8CC4D #4DE87E #4D69E8 #E84DB7
split-complementary
#E8CC4D #4DB7E8 #7E4DE8
monochromatic
#A58B15 #DBB91C #E8CC4D #EFDC83 #F6EBB9
Accessibility & contrast
On white
1.59
#E8CC4D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.18
#E8CC4D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8CC4D
13.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8CC4D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8CC4D | 1.00 | 1.59 | 13.18 | 13.18 |
| #FFFFFF | 1.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E0C83C
Deuteranopia (green-blind)
#E7D154
Tritanopia (blue-blind)
#FABDB2
Achromatopsia (no color)
#CDCDCD
Design tokens & code
CSS
--color: #e8cc4d; /* rgb */ color: rgb(232, 204, 77); /* oklch */ color: oklch(84.6% 0.146 96.6);
Tailwind
colors: {
custom: {
50: '#f3db85',
500: '#e8cc4d',
950: '#000000',
},
}SCSS
$custom: #e8cc4d; $custom-light: #f3db85; $custom-dark: #000000;
JSON
{
"hex": "#e8cc4d",
"rgb": {
"r": 232,
"g": 204,
"b": 77
},
"hsl": {
"h": 49.161,
"s": 77.114,
"l": 60.588
},
"oklch": {
"l": 0.84619,
"c": 0.14595,
"h": 96.6
},
"luminance": 0.60877
}Semantic roles & 50–950 ramp
primary
#E8CC4D
secondary
#3247A7
accent
#31D90C
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E