#ECD57A#ECD57A
#ECD57A is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 87.3% C 0.114 H 95.6°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #ECD57A |
|---|---|
| RGB | rgb(236, 213, 122) |
| HSL | hsl(48, 75%, 70%) |
| HSV | hsv(48, 48%, 93%) |
| CMYK | cmyk(0%, 9.7%, 48.3%, 7.5%) |
| CIE-LAB | lab(85.42, -3.74, 47.60) |
| CIE-LCH | lch(85.42, 47.75, 94.50°) |
| OKLab | oklab(87.3% -0.0111 0.1139) |
| OKLCH | oklch(87.3% 0.114 95.6) |
| XYZ | xyz(61.9011, 66.8290, 28.0472) |
| Luminance | 0.6683 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.33
Sand (survey)
#E2CA76
ΔE00 2.76
Wheat (survey)
#FBDD7E
ΔE00 2.83
Pale Gold
#FDDE6C
ΔE00 4.20
Light Mustard
#F7D560
ΔE00 4.33
Yellow Tan
#FFE36E
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECD57A #7A91EC
analogous
#EC9C7A #ECD57A #CAEC7A
triadic
#ECD57A #7AECD5 #D57AEC
tetradic
#ECD57A #7AEC9C #7A91EC #EC7ACA
square
#ECD57A #7AEC9C #7A91EC #EC7ACA
split-complementary
#ECD57A #7ACAEC #9C7AEC
monochromatic
#CEAB1D #E4C444 #ECD57A #F4E6B0 #FBF7E4
Accessibility & contrast
On white
1.46
#ECD57A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.37
#ECD57A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECD57A
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECD57A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECD57A | 1.00 | 1.46 | 14.37 | 14.37 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D172
Deuteranopia (green-blind)
#ECD97E
Tritanopia (blue-blind)
#FBC9BF
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #ecd57a; /* rgb */ color: rgb(236, 213, 122); /* oklch */ color: oklch(87.3% 0.114 95.6);
Tailwind
colors: {
custom: {
50: '#f4e1a2',
500: '#ecd57a',
950: '#000000',
},
}SCSS
$custom: #ecd57a; $custom-light: #f4e1a2; $custom-dark: #000000;
JSON
{
"hex": "#ecd57a",
"rgb": {
"r": 236,
"g": 213,
"b": 122
},
"hsl": {
"h": 47.895,
"s": 75,
"l": 70.196
},
"oklch": {
"l": 0.87304,
"c": 0.11444,
"h": 95.6
},
"luminance": 0.66827
}Semantic roles & 50–950 ramp
primary
#ECD57A
secondary
#455FC5
accent
#37D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480