#E4C04F#E4C04F
#E4C04F is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.8% C 0.136 H 91.3°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #E4C04F |
|---|---|
| RGB | rgb(228, 192, 79) |
| HSL | hsl(46, 73%, 60%) |
| HSV | hsv(46, 65%, 89%) |
| CMYK | cmyk(0%, 15.8%, 65.4%, 10.6%) |
| CIE-LAB | lab(78.90, 0.55, 59.85) |
| CIE-LCH | lch(78.90, 59.85, 89.47°) |
| OKLab | oklab(81.84% -0.0031 0.1358) |
| OKLCH | oklch(81.84% 0.136 91.3) |
| XYZ | xyz(52.2585, 54.7607, 15.2129) |
| Luminance | 0.5476 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.77
Maize
#F4D054
ΔE00 4.03
Gold (survey)
#DBB40C
ΔE00 4.94
Light Mustard
#F7D560
ΔE00 5.01
Dark Yellow
#D5B60A
ΔE00 5.36
Sand (survey)
#E2CA76
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4C04F #4F73E4
analogous
#E4754F #E4C04F #BEE44F
triadic
#E4C04F #4FE4C0 #C04FE4
tetradic
#E4C04F #4FE475 #4F73E4 #E44FBE
square
#E4C04F #4FE475 #4F73E4 #E44FBE
split-complementary
#E4C04F #4FBEE4 #754FE4
monochromatic
#A07F19 #D5AA21 #E4C04F #ECD384 #F4E6B9
Accessibility & contrast
On white
1.76
#E4C04F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.95
#E4C04F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4C04F
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4C04F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4C04F | 1.00 | 1.76 | 11.95 | 11.95 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BD42
Deuteranopia (green-blind)
#DDC854
Tritanopia (blue-blind)
#F6B1A8
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #e4c04f; /* rgb */ color: rgb(228, 192, 79); /* oklch */ color: oklch(81.8% 0.136 91.3);
Tailwind
colors: {
custom: {
50: '#f0d285',
500: '#e4c04f',
950: '#000000',
},
}SCSS
$custom: #e4c04f; $custom-light: #f0d285; $custom-dark: #000000;
JSON
{
"hex": "#e4c04f",
"rgb": {
"r": 228,
"g": 192,
"b": 79
},
"hsl": {
"h": 45.503,
"s": 73.399,
"l": 60.196
},
"oklch": {
"l": 0.81842,
"c": 0.13583,
"h": 91.3
},
"luminance": 0.54758
}Semantic roles & 50–950 ramp
primary
#E4C04F
secondary
#344FA3
accent
#40D610
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E