#ECCC5A#ECCC5A
#ECCC5A is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 85.1% C 0.137 H 93.6°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).
Color values
| HEX | #ECCC5A |
|---|---|
| RGB | rgb(236, 204, 90) |
| HSL | hsl(47, 79%, 64%) |
| HSV | hsv(47, 62%, 93%) |
| CMYK | cmyk(0%, 13.6%, 61.9%, 7.5%) |
| CIE-LAB | lab(82.79, -1.62, 59.48) |
| CIE-LCH | lch(82.79, 59.50, 91.56°) |
| OKLab | oklab(85.11% -0.0086 0.1364) |
| OKLCH | oklch(85.11% 0.137 93.6) |
| XYZ | xyz(58.0330, 61.7598, 18.5349) |
| Luminance | 0.6176 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.78
Light Mustard
#F7D560
ΔE00 2.24
Light Gold
#FDDC5C
ΔE00 3.98
Pale Gold
#FDDE6C
ΔE00 4.12
Sandy
#F1DA7A
ΔE00 4.48
Sand (survey)
#E2CA76
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECCC5A #5A7AEC
analogous
#EC835A #ECCC5A #C3EC5A
triadic
#ECCC5A #5AECCC #CC5AEC
tetradic
#ECCC5A #5AEC83 #5A7AEC #EC5AC3
square
#ECCC5A #5AEC83 #5A7AEC #EC5AC3
split-complementary
#ECCC5A #5AC3EC #835AEC
monochromatic
#B79315 #E6BB23 #ECCC5A #F2DD91 #F9EEC8
Accessibility & contrast
On white
1.57
#ECCC5A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.35
#ECCC5A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECCC5A
13.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECCC5A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECCC5A | 1.00 | 1.57 | 13.35 | 13.35 |
| #FFFFFF | 1.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E0C94E
Deuteranopia (green-blind)
#E8D25F
Tritanopia (blue-blind)
#FEBDB3
Achromatopsia (no color)
#CECECE
Design tokens & code
CSS
--color: #eccc5a; /* rgb */ color: rgb(236, 204, 90); /* oklch */ color: oklch(85.1% 0.137 93.6);
Tailwind
colors: {
custom: {
50: '#f5db8d',
500: '#eccc5a',
950: '#000000',
},
}SCSS
$custom: #eccc5a; $custom-light: #f5db8d; $custom-dark: #000000;
JSON
{
"hex": "#eccc5a",
"rgb": {
"r": 236,
"g": 204,
"b": 90
},
"hsl": {
"h": 46.849,
"s": 79.348,
"l": 63.922
},
"oklch": {
"l": 0.85112,
"c": 0.13664,
"h": 93.6
},
"luminance": 0.61757
}Semantic roles & 50–950 ramp
primary
#ECCC5A
secondary
#3451B6
accent
#38DC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F