#ECD173#ECD173
#ECD173 is a very light, moderate yellow. Relative luminance 0.647; OKLCH L 86.4% C 0.118 H 93.7°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #ECD173 |
|---|---|
| RGB | rgb(236, 209, 115) |
| HSL | hsl(47, 76%, 69%) |
| HSV | hsv(47, 51%, 93%) |
| CMYK | cmyk(0%, 11.4%, 51.3%, 7.5%) |
| CIE-LAB | lab(84.32, -2.31, 49.66) |
| CIE-LCH | lch(84.32, 49.71, 92.67°) |
| OKLab | oklab(86.41% -0.0077 0.1179) |
| OKLCH | oklch(86.41% 0.118 93.7) |
| XYZ | xyz(60.4892, 64.6742, 25.5135) |
| Luminance | 0.6467 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.26
Sand (survey)
#E2CA76
ΔE00 2.37
Wheat (survey)
#FBDD7E
ΔE00 2.96
Light Mustard
#F7D560
ΔE00 3.51
Pale Gold
#FDDE6C
ΔE00 4.05
Maize
#F4D054
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECD173 #738EEC
analogous
#EC9573 #ECD173 #CBEC73
triadic
#ECD173 #73ECD1 #D173EC
tetradic
#ECD173 #73EC95 #738EEC #EC73CB
square
#ECD173 #73EC95 #738EEC #EC73CB
split-complementary
#ECD173 #73CBEC #9573EC
monochromatic
#C9A21B #E5BF3D #ECD173 #F3E3A9 #FBF4DF
Accessibility & contrast
On white
1.51
#ECD173 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.93
#ECD173 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECD173
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECD173 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECD173 | 1.00 | 1.51 | 13.93 | 13.93 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CE6B
Deuteranopia (green-blind)
#E9D677
Tritanopia (blue-blind)
#FCC4BB
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #ecd173; /* rgb */ color: rgb(236, 209, 115); /* oklch */ color: oklch(86.4% 0.118 93.7);
Tailwind
colors: {
custom: {
50: '#f4de9d',
500: '#ecd173',
950: '#000000',
},
}SCSS
$custom: #ecd173; $custom-light: #f4de9d; $custom-dark: #000000;
JSON
{
"hex": "#ecd173",
"rgb": {
"r": 236,
"g": 209,
"b": 115
},
"hsl": {
"h": 46.612,
"s": 76.101,
"l": 68.824
},
"oklch": {
"l": 0.86405,
"c": 0.11814,
"h": 93.7
},
"luminance": 0.64672
}Semantic roles & 50–950 ramp
primary
#ECD173
secondary
#3F5DC4
accent
#3BD80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F