#E9CC5F#E9CC5F
#E9CC5F is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.9% C 0.132 H 94.5°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #E9CC5F |
|---|---|
| RGB | rgb(233, 204, 95) |
| HSL | hsl(47, 76%, 64%) |
| HSV | hsv(47, 59%, 91%) |
| CMYK | cmyk(0%, 12.4%, 59.2%, 8.6%) |
| CIE-LAB | lab(82.56, -2.53, 56.91) |
| CIE-LCH | lch(82.56, 56.97, 92.54°) |
| OKLab | oklab(84.89% -0.0104 0.1316) |
| OKLCH | oklch(84.89% 0.132 94.5) |
| XYZ | xyz(57.2651, 61.3384, 19.6474) |
| Luminance | 0.6134 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 2.64
Light Mustard
#F7D560
ΔE00 2.72
Sand (survey)
#E2CA76
ΔE00 3.75
Sandy
#F1DA7A
ΔE00 3.92
Pale Gold
#FDDE6C
ΔE00 4.25
Light Gold
#FDDC5C
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E9CC5F #5F7CE9
analogous
#E9875F #E9CC5F #C1E95F
triadic
#E9CC5F #5FE9CC #CC5FE9
tetradic
#E9CC5F #5FE987 #5F7CE9 #E95FC1
square
#E9CC5F #5FE987 #5F7CE9 #E95FC1
split-complementary
#E9CC5F #5FC1E9 #875FE9
monochromatic
#B59419 #E2BB29 #E9CC5F #F0DD95 #F8EECB
Accessibility & contrast
On white
1.58
#E9CC5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.27
#E9CC5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E9CC5F
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E9CC5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E9CC5F | 1.00 | 1.58 | 13.27 | 13.27 |
| #FFFFFF | 1.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFC854
Deuteranopia (green-blind)
#E6D164
Tritanopia (blue-blind)
#FABEB4
Achromatopsia (no color)
#CDCDCD
Design tokens & code
CSS
--color: #e9cc5f; /* rgb */ color: rgb(233, 204, 95); /* oklch */ color: oklch(84.9% 0.132 94.5);
Tailwind
colors: {
custom: {
50: '#f3db90',
500: '#e9cc5f',
950: '#000000',
},
}SCSS
$custom: #e9cc5f; $custom-light: #f3db90; $custom-dark: #000000;
JSON
{
"hex": "#e9cc5f",
"rgb": {
"r": 233,
"g": 204,
"b": 95
},
"hsl": {
"h": 47.391,
"s": 75.824,
"l": 64.314
},
"oklch": {
"l": 0.84885,
"c": 0.13203,
"h": 94.5
},
"luminance": 0.61336
}Semantic roles & 50–950 ramp
primary
#E9CC5F
secondary
#3752B5
accent
#38D80D
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F