#ECF8A1#ECF8A1
#ECF8A1 is a very light, moderate yellow. Relative luminance 0.875; OKLCH L 95.1% C 0.110 H 114.9°. Best body text is #000000 at 18.51:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF8A1 |
|---|---|
| RGB | rgb(236, 248, 161) |
| HSL | hsl(68, 86%, 80%) |
| HSV | hsv(68, 35%, 97%) |
| CMYK | cmyk(4.8%, 0%, 35.1%, 2.7%) |
| CIE-LAB | lab(94.97, -17.11, 40.52) |
| CIE-LCH | lch(94.97, 43.98, 112.89°) |
| OKLab | oklab(95.06% -0.0464 0.0999) |
| OKLCH | oklch(95.06% 0.11 114.9) |
| XYZ | xyz(74.5928, 87.5416, 46.6790) |
| Luminance | 0.8754 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 1.66
Parchment
#FEFCAF
ΔE00 4.00
Creme
#FFFFB6
ΔE00 4.18
Light Beige
#FFFEB6
ΔE00 4.39
Buff
#FEF69E
ΔE00 5.12
Cream (survey)
#FFFFC2
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF8A1 #ADA1F8
analogous
#F8D9A1 #ECF8A1 #C0F8A1
triadic
#ECF8A1 #A1ECF8 #F8A1EC
tetradic
#ECF8A1 #A1F8D9 #ADA1F8 #F8A1C0
square
#ECF8A1 #A1F8D9 #ADA1F8 #F8A1C0
split-complementary
#ECF8A1 #A1C0F8 #D9A1F8
monochromatic
#D5F02F #E0F468 #ECF8A1 #F8FCDA #F9FDE3
Accessibility & contrast
On white
1.13
#ECF8A1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.51
#ECF8A1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF8A1
18.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF8A1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF8A1 | 1.00 | 1.13 | 18.51 | 18.51 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF09B
Deuteranopia (green-blind)
#FFF1A5
Tritanopia (blue-blind)
#F6EFE2
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #ecf8a1; /* rgb */ color: rgb(236, 248, 161); /* oklch */ color: oklch(95.1% 0.110 114.9);
Tailwind
colors: {
custom: {
50: '#f3fabd',
500: '#ecf8a1',
950: '#000000',
},
}SCSS
$custom: #ecf8a1; $custom-light: #f3fabd; $custom-dark: #000000;
JSON
{
"hex": "#ecf8a1",
"rgb": {
"r": 236,
"g": 248,
"b": 161
},
"hsl": {
"h": 68.276,
"s": 86.139,
"l": 80.196
},
"oklch": {
"l": 0.95059,
"c": 0.11015,
"h": 114.9
},
"luminance": 0.87541
}Semantic roles & 50–950 ramp
primary
#ECF8A1
secondary
#7564D9
accent
#03E322
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171712
muted
#858582