#ECD993#ECD993
#ECD993 is a very light, moderate yellow. Relative luminance 0.696; OKLCH L 88.5% C 0.091 H 94.7°. Best body text is #000000 at 14.91:1 contrast (WCAG AA passes).
Color values
| HEX | #ECD993 |
|---|---|
| RGB | rgb(236, 217, 147) |
| HSL | hsl(47, 70%, 75%) |
| HSV | hsv(47, 38%, 93%) |
| CMYK | cmyk(0%, 8.1%, 37.7%, 7.5%) |
| CIE-LAB | lab(86.78, -3.26, 36.87) |
| CIE-LCH | lch(86.78, 37.02, 95.05°) |
| OKLab | oklab(88.5% -0.0075 0.0909) |
| OKLCH | oklch(88.5% 0.091 94.7) |
| XYZ | xyz(64.6726, 69.5672, 37.6192) |
| Luminance | 0.6956 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vanilla
#F3E5AB
ΔE00 3.81
Beige (survey)
#E6DAA6
ΔE00 4.12
Sandy
#F1DA7A
ΔE00 4.38
Sand (survey)
#E2CA76
ΔE00 4.46
Light Tan
#FBEEAC
ΔE00 4.82
Wheat (survey)
#FBDD7E
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECD993 #93A6EC
analogous
#ECAC93 #ECD993 #D3EC93
triadic
#ECD993 #93ECD9 #D993EC
tetradic
#ECD993 #93ECAC #93A6EC #EC93D3
square
#ECD993 #93ECAC #93A6EC #EC93D3
split-complementary
#ECD993 #93D3EC #AC93EC
monochromatic
#DAB42B #E3C75F #ECD993 #F5EBC7 #FAF6E5
Accessibility & contrast
On white
1.41
#ECD993 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.91
#ECD993 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECD993
14.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECD993 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECD993 | 1.00 | 1.41 | 14.91 | 14.91 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D68E
Deuteranopia (green-blind)
#ECDC95
Tritanopia (blue-blind)
#F9CFC7
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #ecd993; /* rgb */ color: rgb(236, 217, 147); /* oklch */ color: oklch(88.5% 0.091 94.7);
Tailwind
colors: {
custom: {
50: '#f3e4b3',
500: '#ecd993',
950: '#000000',
},
}SCSS
$custom: #ecd993; $custom-light: #f3e4b3; $custom-dark: #000000;
JSON
{
"hex": "#ecd993",
"rgb": {
"r": 236,
"g": 217,
"b": 147
},
"hsl": {
"h": 47.191,
"s": 70.079,
"l": 75.098
},
"oklch": {
"l": 0.88498,
"c": 0.09125,
"h": 94.7
},
"luminance": 0.69565
}Semantic roles & 50–950 ramp
primary
#ECD993
secondary
#5C73C7
accent
#3CD213
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481