#EAC962#EAC962
#EAC962 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.4% C 0.128 H 91.7°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #EAC962 |
|---|---|
| RGB | rgb(234, 201, 98) |
| HSL | hsl(45, 76%, 65%) |
| HSV | hsv(45, 58%, 92%) |
| CMYK | cmyk(0%, 14.1%, 58.1%, 8.2%) |
| CIE-LAB | lab(81.92, -0.36, 54.84) |
| CIE-LCH | lch(81.92, 54.84, 90.38°) |
| OKLab | oklab(84.41% -0.0038 0.1275) |
| OKLCH | oklch(84.41% 0.128 91.7) |
| XYZ | xyz(57.0254, 60.1505, 20.1594) |
| Luminance | 0.6015 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 3.05
Light Mustard
#F7D560
ΔE00 3.28
Sand (survey)
#E2CA76
ΔE00 3.50
Sandy
#F1DA7A
ΔE00 4.64
Wheat (survey)
#FBDD7E
ΔE00 4.78
Pale Gold
#FDDE6C
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EAC962 #6283EA
analogous
#EA8562 #EAC962 #C7EA62
triadic
#EAC962 #62EAC9 #C962EA
tetradic
#EAC962 #62EA85 #6283EA #EA62C7
square
#EAC962 #62EA85 #6283EA #EA62C7
split-complementary
#EAC962 #62C7EA #8562EA
monochromatic
#B99219 #E3B62C #EAC962 #F1DC98 #F8EECE
Accessibility & contrast
On white
1.61
#EAC962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.03
#EAC962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EAC962
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EAC962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EAC962 | 1.00 | 1.61 | 13.03 | 13.03 |
| #FFFFFF | 1.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCC658
Deuteranopia (green-blind)
#E4D066
Tritanopia (blue-blind)
#FBBBB2
Achromatopsia (no color)
#CCCCCC
Design tokens & code
CSS
--color: #eac962; /* rgb */ color: rgb(234, 201, 98); /* oklch */ color: oklch(84.4% 0.128 91.7);
Tailwind
colors: {
custom: {
50: '#f4d992',
500: '#eac962',
950: '#000000',
},
}SCSS
$custom: #eac962; $custom-light: #f4d992; $custom-dark: #000000;
JSON
{
"hex": "#eac962",
"rgb": {
"r": 234,
"g": 201,
"b": 98
},
"hsl": {
"h": 45.441,
"s": 76.404,
"l": 65.098
},
"oklch": {
"l": 0.8441,
"c": 0.12755,
"h": 91.7
},
"luminance": 0.60148
}Semantic roles & 50–950 ramp
primary
#EAC962
secondary
#3857B8
accent
#3ED90D
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F