#ECD07A#ECD07A
#ECD07A is a very light, moderate yellow. Relative luminance 0.643; OKLCH L 86.3% C 0.111 H 91.9°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).
Color values
| HEX | #ECD07A |
|---|---|
| RGB | rgb(236, 208, 122) |
| HSL | hsl(45, 75%, 70%) |
| HSV | hsv(45, 48%, 93%) |
| CMYK | cmyk(0%, 11.9%, 48.3%, 7.5%) |
| CIE-LAB | lab(84.15, -1.18, 46.04) |
| CIE-LCH | lch(84.15, 46.06, 91.47°) |
| OKLab | oklab(86.3% -0.0037 0.1104) |
| OKLCH | oklch(86.3% 0.111 91.9) |
| XYZ | xyz(60.6628, 64.3524, 27.6345) |
| Luminance | 0.6435 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 1.95
Sandy
#F1DA7A
ΔE00 3.03
Wheat (survey)
#FBDD7E
ΔE00 3.27
Light Mustard
#F7D560
ΔE00 4.52
Pale Gold
#FDDE6C
ΔE00 4.99
Maize
#F4D054
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECD07A #7A96EC
analogous
#EC977A #ECD07A #CFEC7A
triadic
#ECD07A #7AECD0 #D07AEC
tetradic
#ECD07A #7AEC97 #7A96EC #EC7ACF
square
#ECD07A #7AEC97 #7A96EC #EC7ACF
split-complementary
#ECD07A #7ACFEC #977AEC
monochromatic
#CEA31D #E4BD44 #ECD07A #F4E3B0 #FBF6E4
Accessibility & contrast
On white
1.51
#ECD07A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.87
#ECD07A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECD07A
13.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECD07A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECD07A | 1.00 | 1.51 | 13.87 | 13.87 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1CD73
Deuteranopia (green-blind)
#E8D57D
Tritanopia (blue-blind)
#FCC4BB
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #ecd07a; /* rgb */ color: rgb(236, 208, 122); /* oklch */ color: oklch(86.3% 0.111 91.9);
Tailwind
colors: {
custom: {
50: '#f4dea2',
500: '#ecd07a',
950: '#000000',
},
}SCSS
$custom: #ecd07a; $custom-light: #f4dea2; $custom-dark: #000000;
JSON
{
"hex": "#ecd07a",
"rgb": {
"r": 236,
"g": 208,
"b": 122
},
"hsl": {
"h": 45.263,
"s": 75,
"l": 70.196
},
"oklch": {
"l": 0.86302,
"c": 0.1105,
"h": 91.9
},
"luminance": 0.6435
}Semantic roles & 50–950 ramp
primary
#ECD07A
secondary
#4565C5
accent
#40D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480