#ECDA7F#ECDA7F
#ECDA7F is a very light, moderate yellow. Relative luminance 0.695; OKLCH L 88.4% C 0.114 H 98.4°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).
Color values
| HEX | #ECDA7F |
|---|---|
| RGB | rgb(236, 218, 127) |
| HSL | hsl(50, 74%, 71%) |
| HSV | hsv(50, 46%, 93%) |
| CMYK | cmyk(0%, 7.6%, 46.2%, 7.5%) |
| CIE-LAB | lab(86.76, -5.82, 46.81) |
| CIE-LCH | lch(86.76, 47.17, 97.09°) |
| OKLab | oklab(88.38% -0.0166 0.1125) |
| OKLCH | oklch(88.38% 0.114 98.4) |
| XYZ | xyz(63.4960, 69.5102, 30.1467) |
| Luminance | 0.6951 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.54
Khaki (CSS)
#F0E68C
ΔE00 3.26
Wheat (survey)
#FBDD7E
ΔE00 3.51
Sand (survey)
#E2CA76
ΔE00 4.06
Pale Gold
#FDDE6C
ΔE00 4.66
Yellow Tan
#FFE36E
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECDA7F #7F91EC
analogous
#ECA37F #ECDA7F #C7EC7F
triadic
#ECDA7F #7FECDA #DA7FEC
tetradic
#ECDA7F #7FECA3 #7F91EC #EC7FC7
square
#ECDA7F #7FECA3 #7F91EC #EC7FC7
split-complementary
#ECDA7F #7FC7EC #A37FEC
monochromatic
#D2B41F #E4CB4A #ECDA7F #F4E9B4 #FBF7E4
Accessibility & contrast
On white
1.41
#ECDA7F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.90
#ECDA7F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECDA7F
14.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECDA7F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECDA7F | 1.00 | 1.41 | 14.90 | 14.90 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD578
Deuteranopia (green-blind)
#EFDC83
Tritanopia (blue-blind)
#FBCEC4
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #ecda7f; /* rgb */ color: rgb(236, 218, 127); /* oklch */ color: oklch(88.4% 0.114 98.4);
Tailwind
colors: {
custom: {
50: '#f4e5a6',
500: '#ecda7f',
950: '#000000',
},
}SCSS
$custom: #ecda7f; $custom-light: #f4e5a6; $custom-dark: #000000;
JSON
{
"hex": "#ecda7f",
"rgb": {
"r": 236,
"g": 218,
"b": 127
},
"hsl": {
"h": 50.092,
"s": 74.15,
"l": 71.176
},
"oklch": {
"l": 0.88384,
"c": 0.11372,
"h": 98.4
},
"luminance": 0.69508
}Semantic roles & 50–950 ramp
primary
#ECDA7F
secondary
#4A5EC6
accent
#30D60F
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480