#ECCC4D#ECCC4D
#ECCC4D is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 85.0% C 0.146 H 94.8°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).
Color values
| HEX | #ECCC4D |
|---|---|
| RGB | rgb(236, 204, 77) |
| HSL | hsl(48, 81%, 61%) |
| HSV | hsv(48, 67%, 93%) |
| CMYK | cmyk(0%, 13.6%, 67.4%, 7.5%) |
| CIE-LAB | lab(82.68, -2.39, 64.88) |
| CIE-LCH | lch(82.68, 64.92, 92.11°) |
| OKLab | oklab(84.99% -0.0123 0.1459) |
| OKLCH | oklch(84.99% 0.146 94.8) |
| XYZ | xyz(57.5273, 61.5575, 15.8714) |
| Luminance | 0.6155 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.60
Light Mustard
#F7D560
ΔE00 2.59
Light Gold
#FDDC5C
ΔE00 3.73
Pale Gold
#FDDE6C
ΔE00 4.44
Sand Yellow
#FCE166
ΔE00 4.86
Dull Yellow
#EEDC5B
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECCC4D #4D6DEC
analogous
#EC7D4D #ECCC4D #BCEC4D
triadic
#ECCC4D #4DECCC #CC4DEC
tetradic
#ECCC4D #4DEC7D #4D6DEC #EC4DBC
square
#ECCC4D #4DEC7D #4D6DEC #EC4DBC
split-complementary
#ECCC4D #4DBCEC #7D4DEC
monochromatic
#AC8D12 #E4BB18 #ECCC4D #F2DC84 #F8ECBC
Accessibility & contrast
On white
1.58
#ECCC4D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.31
#ECCC4D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECCC4D
13.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECCC4D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECCC4D | 1.00 | 1.58 | 13.31 | 13.31 |
| #FFFFFF | 1.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E0C83C
Deuteranopia (green-blind)
#E8D254
Tritanopia (blue-blind)
#FEBDB2
Achromatopsia (no color)
#CECECE
Design tokens & code
CSS
--color: #eccc4d; /* rgb */ color: rgb(236, 204, 77); /* oklch */ color: oklch(85.0% 0.146 94.8);
Tailwind
colors: {
custom: {
50: '#f6db85',
500: '#eccc4d',
950: '#000000',
},
}SCSS
$custom: #eccc4d; $custom-light: #f6db85; $custom-dark: #000000;
JSON
{
"hex": "#eccc4d",
"rgb": {
"r": 236,
"g": 204,
"b": 77
},
"hsl": {
"h": 47.925,
"s": 80.711,
"l": 61.373
},
"oklch": {
"l": 0.84992,
"c": 0.1464,
"h": 94.8
},
"luminance": 0.61554
}Semantic roles & 50–950 ramp
primary
#ECCC4D
secondary
#3049AD
accent
#33DD08
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E