#ECCA5D#ECCA5D
#ECCA5D is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.7% C 0.133 H 92.0°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).
Color values
| HEX | #ECCA5D |
|---|---|
| RGB | rgb(236, 202, 93) |
| HSL | hsl(46, 79%, 65%) |
| HSV | hsv(46, 61%, 93%) |
| CMYK | cmyk(0%, 14.4%, 60.6%, 7.5%) |
| CIE-LAB | lab(82.31, -0.39, 57.61) |
| CIE-LCH | lch(82.31, 57.61, 90.39°) |
| OKLab | oklab(84.74% -0.0047 0.1328) |
| OKLCH | oklch(84.74% 0.133 92) |
| XYZ | xyz(57.6910, 60.8673, 19.0636) |
| Luminance | 0.6086 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 2.27
Light Mustard
#F7D560
ΔE00 2.72
Sand (survey)
#E2CA76
ΔE00 4.23
Pale Gold
#FDDE6C
ΔE00 4.61
Light Gold
#FDDC5C
ΔE00 4.64
Sandy
#F1DA7A
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECCA5D #5D7FEC
analogous
#EC825D #ECCA5D #C7EC5D
triadic
#ECCA5D #5DECCA #CA5DEC
tetradic
#ECCA5D #5DEC82 #5D7FEC #EC5DC7
square
#ECCA5D #5DEC82 #5D7FEC #EC5DC7
split-complementary
#ECCA5D #5DC7EC #825DEC
monochromatic
#B99216 #E6B826 #ECCA5D #F2DC94 #F9EECB
Accessibility & contrast
On white
1.59
#ECCA5D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.17
#ECCA5D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECCA5D
13.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECCA5D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECCA5D | 1.00 | 1.59 | 13.17 | 13.17 |
| #FFFFFF | 1.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DEC752
Deuteranopia (green-blind)
#E6D162
Tritanopia (blue-blind)
#FEBCB2
Achromatopsia (no color)
#CDCDCD
Design tokens & code
CSS
--color: #ecca5d; /* rgb */ color: rgb(236, 202, 93); /* oklch */ color: oklch(84.7% 0.133 92.0);
Tailwind
colors: {
custom: {
50: '#f5d98f',
500: '#ecca5d',
950: '#000000',
},
}SCSS
$custom: #ecca5d; $custom-light: #f5d98f; $custom-dark: #000000;
JSON
{
"hex": "#ecca5d",
"rgb": {
"r": 236,
"g": 202,
"b": 93
},
"hsl": {
"h": 45.734,
"s": 79.006,
"l": 64.51
},
"oklch": {
"l": 0.84743,
"c": 0.13286,
"h": 92
},
"luminance": 0.60864
}Semantic roles & 50–950 ramp
primary
#ECCA5D
secondary
#3554B8
accent
#3CDB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F