#ECCC5D#ECCC5D
#ECCC5D is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 85.1% C 0.134 H 93.3°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #ECCC5D |
|---|---|
| RGB | rgb(236, 204, 93) |
| HSL | hsl(47, 79%, 65%) |
| HSV | hsv(47, 61%, 93%) |
| CMYK | cmyk(0%, 13.6%, 60.6%, 7.5%) |
| CIE-LAB | lab(82.81, -1.42, 58.17) |
| CIE-LCH | lch(82.81, 58.19, 91.40°) |
| OKLab | oklab(85.14% -0.0076 0.134) |
| OKLCH | oklch(85.14% 0.134 93.3) |
| XYZ | xyz(58.1633, 61.8119, 19.2211) |
| Luminance | 0.6181 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 2.00
Light Mustard
#F7D560
ΔE00 2.30
Pale Gold
#FDDE6C
ΔE00 4.12
Light Gold
#FDDC5C
ΔE00 4.13
Sand (survey)
#E2CA76
ΔE00 4.23
Sandy
#F1DA7A
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECCC5D #5D7DEC
analogous
#EC845D #ECCC5D #C5EC5D
triadic
#ECCC5D #5DECCC #CC5DEC
tetradic
#ECCC5D #5DEC84 #5D7DEC #EC5DC5
square
#ECCC5D #5DEC84 #5D7DEC #EC5DC5
split-complementary
#ECCC5D #5DC5EC #845DEC
monochromatic
#B99416 #E6BB26 #ECCC5D #F2DD94 #F9EECB
Accessibility & contrast
On white
1.57
#ECCC5D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.36
#ECCC5D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECCC5D
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECCC5D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECCC5D | 1.00 | 1.57 | 13.36 | 13.36 |
| #FFFFFF | 1.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFC951
Deuteranopia (green-blind)
#E7D262
Tritanopia (blue-blind)
#FEBEB4
Achromatopsia (no color)
#CECECE
Design tokens & code
CSS
--color: #eccc5d; /* rgb */ color: rgb(236, 204, 93); /* oklch */ color: oklch(85.1% 0.134 93.3);
Tailwind
colors: {
custom: {
50: '#f5db8f',
500: '#eccc5d',
950: '#000000',
},
}SCSS
$custom: #eccc5d; $custom-light: #f5db8f; $custom-dark: #000000;
JSON
{
"hex": "#eccc5d",
"rgb": {
"r": 236,
"g": 204,
"b": 93
},
"hsl": {
"h": 46.573,
"s": 79.006,
"l": 64.51
},
"oklch": {
"l": 0.85143,
"c": 0.13421,
"h": 93.3
},
"luminance": 0.61809
}Semantic roles & 50–950 ramp
primary
#ECCC5D
secondary
#3552B8
accent
#39DB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F