#EAC952#EAC952
#EAC952 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 84.2% C 0.140 H 93.6°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #EAC952 |
|---|---|
| RGB | rgb(234, 201, 82) |
| HSL | hsl(47, 78%, 62%) |
| HSV | hsv(47, 65%, 92%) |
| CMYK | cmyk(0%, 14.1%, 65%, 8.2%) |
| CIE-LAB | lab(81.77, -1.41, 61.79) |
| CIE-LCH | lch(81.77, 61.81, 91.30°) |
| OKLab | oklab(84.25% -0.0088 0.1402) |
| OKLCH | oklch(84.25% 0.14 93.6) |
| XYZ | xyz(56.3440, 59.8779, 16.5708) |
| Luminance | 0.5988 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.97
Light Mustard
#F7D560
ΔE00 2.90
Light Gold
#FDDC5C
ΔE00 4.48
Pale Gold
#FDDE6C
ΔE00 4.88
Sand (survey)
#E2CA76
ΔE00 5.12
Sandy
#F1DA7A
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EAC952 #5273EA
analogous
#EA7D52 #EAC952 #BFEA52
triadic
#EAC952 #52EAC9 #C952EA
tetradic
#EAC952 #52EA7D #5273EA #EA52BF
square
#EAC952 #52EA7D #5273EA #EA52BF
split-complementary
#EAC952 #52BFEA #7D52EA
monochromatic
#AD8C15 #E3B81C #EAC952 #F1DA89 #F7EBBF
Accessibility & contrast
On white
1.62
#EAC952 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.98
#EAC952 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EAC952
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EAC952 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EAC952 | 1.00 | 1.62 | 12.98 | 12.98 |
| #FFFFFF | 1.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC644
Deuteranopia (green-blind)
#E5CF58
Tritanopia (blue-blind)
#FCBAB0
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #eac952; /* rgb */ color: rgb(234, 201, 82); /* oklch */ color: oklch(84.2% 0.140 93.6);
Tailwind
colors: {
custom: {
50: '#f4d988',
500: '#eac952',
950: '#000000',
},
}SCSS
$custom: #eac952; $custom-light: #f4d988; $custom-dark: #000000;
JSON
{
"hex": "#eac952",
"rgb": {
"r": 234,
"g": 201,
"b": 82
},
"hsl": {
"h": 46.974,
"s": 78.351,
"l": 61.961
},
"oklch": {
"l": 0.84246,
"c": 0.14047,
"h": 93.6
},
"luminance": 0.59875
}Semantic roles & 50–950 ramp
primary
#EAC952
secondary
#334DAE
accent
#38DB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F