#E2C04F#E2C04F
#E2C04F is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.7% C 0.135 H 92.3°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #E2C04F |
|---|---|
| RGB | rgb(226, 192, 79) |
| HSL | hsl(46, 72%, 60%) |
| HSV | hsv(46, 65%, 89%) |
| CMYK | cmyk(0%, 15%, 65%, 11.4%) |
| CIE-LAB | lab(78.71, -0.29, 59.59) |
| CIE-LCH | lch(78.71, 59.59, 90.28°) |
| OKLab | oklab(81.65% -0.0054 0.1353) |
| OKLCH | oklch(81.65% 0.135 92.3) |
| XYZ | xyz(51.6275, 54.4354, 15.1834) |
| Luminance | 0.5443 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.82
Maize
#F4D054
ΔE00 4.11
Gold (survey)
#DBB40C
ΔE00 4.95
Light Mustard
#F7D560
ΔE00 5.04
Dark Yellow
#D5B60A
ΔE00 5.14
Sand (survey)
#E2CA76
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2C04F #4F71E2
analogous
#E2764F #E2C04F #BBE24F
triadic
#E2C04F #4FE2C0 #C04FE2
tetradic
#E2C04F #4FE276 #4F71E2 #E24FBB
square
#E2C04F #4FE276 #4F71E2 #E24FBB
split-complementary
#E2C04F #4FBBE2 #764FE2
monochromatic
#9D7E1A #D1A922 #E2C04F #EBD384 #F3E6B8
Accessibility & contrast
On white
1.77
#E2C04F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.89
#E2C04F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2C04F
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2C04F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2C04F | 1.00 | 1.77 | 11.89 | 11.89 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BD42
Deuteranopia (green-blind)
#DCC754
Tritanopia (blue-blind)
#F3B2A8
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #e2c04f; /* rgb */ color: rgb(226, 192, 79); /* oklch */ color: oklch(81.7% 0.135 92.3);
Tailwind
colors: {
custom: {
50: '#efd285',
500: '#e2c04f',
950: '#000000',
},
}SCSS
$custom: #e2c04f; $custom-light: #efd285; $custom-dark: #000000;
JSON
{
"hex": "#e2c04f",
"rgb": {
"r": 226,
"g": 192,
"b": 79
},
"hsl": {
"h": 46.122,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.8165,
"c": 0.13541,
"h": 92.3
},
"luminance": 0.54433
}Semantic roles & 50–950 ramp
primary
#E2C04F
secondary
#354EA0
accent
#63EE39
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E