#EACC5F#EACC5F
#EACC5F is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 85.0% C 0.132 H 94.0°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).
Color values
| HEX | #EACC5F |
|---|---|
| RGB | rgb(234, 204, 95) |
| HSL | hsl(47, 77%, 65%) |
| HSV | hsv(47, 59%, 92%) |
| CMYK | cmyk(0%, 12.8%, 59.4%, 8.2%) |
| CIE-LAB | lab(82.65, -2.12, 57.04) |
| CIE-LCH | lch(82.65, 57.08, 92.12°) |
| OKLab | oklab(84.98% -0.0093 0.1319) |
| OKLCH | oklch(84.98% 0.132 94) |
| XYZ | xyz(57.5926, 61.5072, 19.6627) |
| Luminance | 0.6150 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 2.46
Light Mustard
#F7D560
ΔE00 2.58
Sand (survey)
#E2CA76
ΔE00 3.82
Sandy
#F1DA7A
ΔE00 3.99
Pale Gold
#FDDE6C
ΔE00 4.19
Light Gold
#FDDC5C
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EACC5F #5F7DEA
analogous
#EA865F #EACC5F #C3EA5F
triadic
#EACC5F #5FEACC #CC5FEA
tetradic
#EACC5F #5FEA86 #5F7DEA #EA5FC3
square
#EACC5F #5FEA86 #5F7DEA #EA5FC3
split-complementary
#EACC5F #5FC3EA #865FEA
monochromatic
#B79418 #E3BB29 #EACC5F #F1DD95 #F8EECB
Accessibility & contrast
On white
1.58
#EACC5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.30
#EACC5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EACC5F
13.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EACC5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EACC5F | 1.00 | 1.58 | 13.30 | 13.30 |
| #FFFFFF | 1.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFC854
Deuteranopia (green-blind)
#E7D264
Tritanopia (blue-blind)
#FBBEB4
Achromatopsia (no color)
#CECECE
Design tokens & code
CSS
--color: #eacc5f; /* rgb */ color: rgb(234, 204, 95); /* oklch */ color: oklch(85.0% 0.132 94.0);
Tailwind
colors: {
custom: {
50: '#f4db90',
500: '#eacc5f',
950: '#000000',
},
}SCSS
$custom: #eacc5f; $custom-light: #f4db90; $custom-dark: #000000;
JSON
{
"hex": "#eacc5f",
"rgb": {
"r": 234,
"g": 204,
"b": 95
},
"hsl": {
"h": 47.05,
"s": 76.796,
"l": 64.51
},
"oklch": {
"l": 0.84978,
"c": 0.1322,
"h": 94
},
"luminance": 0.61504
}Semantic roles & 50–950 ramp
primary
#EACC5F
secondary
#3752B6
accent
#39D90C
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F