#EAC452#EAC452
#EAC452 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 83.2% C 0.137 H 90.6°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).
Color values
| HEX | #EAC452 |
|---|---|
| RGB | rgb(234, 196, 82) |
| HSL | hsl(45, 78%, 62%) |
| HSV | hsv(45, 65%, 92%) |
| CMYK | cmyk(0%, 16.2%, 65%, 8.2%) |
| CIE-LAB | lab(80.51, 1.17, 60.44) |
| CIE-LCH | lch(80.51, 60.45, 88.89°) |
| OKLab | oklab(83.25% -0.0013 0.1373) |
| OKLCH | oklch(83.25% 0.137 90.6) |
| XYZ | xyz(55.1974, 57.5846, 16.1886) |
| Luminance | 0.5758 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 3.09
Light Mustard
#F7D560
ΔE00 4.07
Mustard
#DBB42C
ΔE00 4.60
Sand (survey)
#E2CA76
ΔE00 5.38
Gold (survey)
#DBB40C
ΔE00 5.60
Golden
#F5BF03
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EAC452 #5278EA
analogous
#EA7852 #EAC452 #C4EA52
triadic
#EAC452 #52EAC4 #C452EA
tetradic
#EAC452 #52EA78 #5278EA #EA52C4
square
#EAC452 #52EA78 #5278EA #EA52C4
split-complementary
#EAC452 #52C4EA #7852EA
monochromatic
#AD8715 #E3B11C #EAC452 #F1D789 #F7E9BF
Accessibility & contrast
On white
1.68
#EAC452 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.52
#EAC452 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EAC452
12.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EAC452 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EAC452 | 1.00 | 1.68 | 12.52 | 12.52 |
| #FFFFFF | 1.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C245
Deuteranopia (green-blind)
#E2CC57
Tritanopia (blue-blind)
#FCB5AC
Achromatopsia (no color)
#C8C8C8
Design tokens & code
CSS
--color: #eac452; /* rgb */ color: rgb(234, 196, 82); /* oklch */ color: oklch(83.2% 0.137 90.6);
Tailwind
colors: {
custom: {
50: '#f4d587',
500: '#eac452',
950: '#000000',
},
}SCSS
$custom: #eac452; $custom-light: #f4d587; $custom-dark: #000000;
JSON
{
"hex": "#eac452",
"rgb": {
"r": 234,
"g": 196,
"b": 82
},
"hsl": {
"h": 45,
"s": 78.351,
"l": 61.961
},
"oklch": {
"l": 0.83248,
"c": 0.13734,
"h": 90.6
},
"luminance": 0.57581
}Semantic roles & 50–950 ramp
primary
#EAC452
secondary
#3351AE
accent
#3FDB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F