#ECF09F#ECF09F
#ECF09F is a very light, moderate yellow. Relative luminance 0.827; OKLCH L 93.4% C 0.102 H 110.6°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF09F |
|---|---|
| RGB | rgb(236, 240, 159) |
| HSL | hsl(63, 73%, 78%) |
| HSV | hsv(63, 34%, 94%) |
| CMYK | cmyk(1.7%, 0%, 33.8%, 5.9%) |
| CIE-LAB | lab(92.86, -13.43, 38.77) |
| CIE-LCH | lch(92.86, 41.03, 109.10°) |
| OKLab | oklab(93.38% -0.036 0.0958) |
| OKLCH | oklch(93.38% 0.102 110.6) |
| XYZ | xyz(72.0106, 82.6573, 44.9552) |
| Luminance | 0.8266 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 2.06
Parchment
#FEFCAF
ΔE00 3.25
Creme
#FFFFB6
ΔE00 3.79
Light Beige
#FFFEB6
ΔE00 3.80
Buff
#FEF69E
ΔE00 3.82
Palegoldenrod
#EEE8AA
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF09F #A39FF0
analogous
#F0CB9F #ECF09F #C3F09F
triadic
#ECF09F #9FECF0 #F09FEC
tetradic
#ECF09F #9FF0CB #A39FF0 #F09FC3
square
#ECF09F #9FF0CB #A39FF0 #F09FC3
split-complementary
#ECF09F #9FC3F0 #CB9FF0
monochromatic
#D7DF35 #E2E86A #ECF09F #F6F8D4 #FAFBE5
Accessibility & contrast
On white
1.20
#ECF09F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.53
#ECF09F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF09F
17.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF09F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF09F | 1.00 | 1.20 | 17.53 | 17.53 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FCE999
Deuteranopia (green-blind)
#FDECA2
Tritanopia (blue-blind)
#F6E7DB
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #ecf09f; /* rgb */ color: rgb(236, 240, 159); /* oklch */ color: oklch(93.4% 0.102 110.6);
Tailwind
colors: {
custom: {
50: '#f3f4bc',
500: '#ecf09f',
950: '#000000',
},
}SCSS
$custom: #ecf09f; $custom-light: #f3f4bc; $custom-dark: #000000;
JSON
{
"hex": "#ecf09f",
"rgb": {
"r": 236,
"g": 240,
"b": 159
},
"hsl": {
"h": 62.963,
"s": 72.973,
"l": 78.235
},
"oklch": {
"l": 0.93376,
"c": 0.10233,
"h": 110.6
},
"luminance": 0.82656
}Semantic roles & 50–950 ramp
primary
#ECF09F
secondary
#6B66CD
accent
#10D51A
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171712
muted
#858582