#ECF09B#ECF09B
#ECF09B is a very light, moderate yellow. Relative luminance 0.825; OKLCH L 93.3% C 0.107 H 110.6°. Best body text is #000000 at 17.50:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF09B |
|---|---|
| RGB | rgb(236, 240, 155) |
| HSL | hsl(63, 74%, 77%) |
| HSV | hsv(63, 35%, 94%) |
| CMYK | cmyk(1.7%, 0%, 35.4%, 5.9%) |
| CIE-LAB | lab(92.80, -13.89, 40.68) |
| CIE-LCH | lch(92.80, 42.99, 108.85°) |
| OKLab | oklab(93.31% -0.0376 0.1) |
| OKLCH | oklch(93.31% 0.107 110.6) |
| XYZ | xyz(71.6692, 82.5207, 43.1566) |
| Luminance | 0.8252 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 2.33
Parchment
#FEFCAF
ΔE00 3.47
Buff
#FEF69E
ΔE00 3.63
Creme
#FFFFB6
ΔE00 4.13
Light Beige
#FFFEB6
ΔE00 4.16
Khaki (CSS)
#F0E68C
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF09B #9F9BF0
analogous
#F0CA9B #ECF09B #C1F09B
triadic
#ECF09B #9BECF0 #F09BEC
tetradic
#ECF09B #9BF0CA #9F9BF0 #F09BC1
square
#ECF09B #9BF0CA #9F9BF0 #F09BC1
split-complementary
#ECF09B #9BC1F0 #CA9BF0
monochromatic
#D8E031 #E2E866 #ECF09B #F6F8D0 #FAFBE4
Accessibility & contrast
On white
1.20
#ECF09B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.50
#ECF09B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF09B
17.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF09B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF09B | 1.00 | 1.20 | 17.50 | 17.50 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FCE995
Deuteranopia (green-blind)
#FDEC9F
Tritanopia (blue-blind)
#F7E6DB
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #ecf09b; /* rgb */ color: rgb(236, 240, 155); /* oklch */ color: oklch(93.3% 0.107 110.6);
Tailwind
colors: {
custom: {
50: '#f3f4b9',
500: '#ecf09b',
950: '#000000',
},
}SCSS
$custom: #ecf09b; $custom-light: #f3f4b9; $custom-dark: #000000;
JSON
{
"hex": "#ecf09b",
"rgb": {
"r": 236,
"g": 240,
"b": 155
},
"hsl": {
"h": 62.824,
"s": 73.913,
"l": 77.451
},
"oklch": {
"l": 0.93308,
"c": 0.10687,
"h": 110.6
},
"luminance": 0.8252
}Semantic roles & 50–950 ramp
primary
#ECF09B
secondary
#6762CD
accent
#0FD619
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581