#EAC862#EAC862
#EAC862 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 84.2% C 0.127 H 91.1°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).
Color values
| HEX | #EAC862 |
|---|---|
| RGB | rgb(234, 200, 98) |
| HSL | hsl(45, 76%, 65%) |
| HSV | hsv(45, 58%, 92%) |
| CMYK | cmyk(0%, 14.5%, 58.1%, 8.2%) |
| CIE-LAB | lab(81.67, 0.16, 54.55) |
| CIE-LCH | lch(81.67, 54.55, 89.83°) |
| OKLab | oklab(84.21% -0.0023 0.1269) |
| OKLCH | oklch(84.21% 0.127 91.1) |
| XYZ | xyz(56.7931, 59.6858, 20.0820) |
| Luminance | 0.5968 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 3.26
Light Mustard
#F7D560
ΔE00 3.54
Sand (survey)
#E2CA76
ΔE00 3.59
Sandy
#F1DA7A
ΔE00 4.94
Wheat (survey)
#FBDD7E
ΔE00 4.99
Pale Gold
#FDDE6C
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EAC862 #6284EA
analogous
#EA8462 #EAC862 #C8EA62
triadic
#EAC862 #62EAC8 #C862EA
tetradic
#EAC862 #62EA84 #6284EA #EA62C8
square
#EAC862 #62EA84 #6284EA #EA62C8
split-complementary
#EAC862 #62C8EA #8462EA
monochromatic
#B99119 #E3B52C #EAC862 #F1DB98 #F8EECE
Accessibility & contrast
On white
1.62
#EAC862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.94
#EAC862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EAC862
12.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EAC862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EAC862 | 1.00 | 1.62 | 12.94 | 12.94 |
| #FFFFFF | 1.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC558
Deuteranopia (green-blind)
#E3CF66
Tritanopia (blue-blind)
#FBBAB1
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #eac862; /* rgb */ color: rgb(234, 200, 98); /* oklch */ color: oklch(84.2% 0.127 91.1);
Tailwind
colors: {
custom: {
50: '#f4d892',
500: '#eac862',
950: '#000000',
},
}SCSS
$custom: #eac862; $custom-light: #f4d892; $custom-dark: #000000;
JSON
{
"hex": "#eac862",
"rgb": {
"r": 234,
"g": 200,
"b": 98
},
"hsl": {
"h": 45,
"s": 76.404,
"l": 65.098
},
"oklch": {
"l": 0.84211,
"c": 0.12689,
"h": 91.1
},
"luminance": 0.59683
}Semantic roles & 50–950 ramp
primary
#EAC862
secondary
#3858B8
accent
#40D90D
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F