#ECF273#ECF273
#ECF273 is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 93.2% C 0.150 H 111.4°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF273 |
|---|---|
| RGB | rgb(236, 242, 115) |
| HSL | hsl(63, 83%, 70%) |
| HSV | hsv(63, 52%, 95%) |
| CMYK | cmyk(2.5%, 0%, 52.5%, 5.1%) |
| CIE-LAB | lab(92.83, -18.76, 59.70) |
| CIE-LCH | lch(92.83, 62.58, 107.45°) |
| OKLab | oklab(93.17% -0.0549 0.1398) |
| OKLCH | oklch(93.17% 0.15 111.4) |
| XYZ | xyz(69.4403, 82.5764, 28.4972) |
| Luminance | 0.8257 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.71
Straw
#FCF679
ΔE00 3.08
Faded Yellow
#FEFF7F
ΔE00 3.08
Butter
#FFFF81
ΔE00 3.21
Banana (survey)
#FFFF7E
ΔE00 3.21
Light Yellow
#FFFE7A
ΔE00 3.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF273 #7973F2
analogous
#F2B973 #ECF273 #ACF273
triadic
#ECF273 #73ECF2 #F273EC
tetradic
#ECF273 #73F2B9 #7973F2 #F273AC
square
#ECF273 #73F2B9 #7973F2 #F273AC
split-complementary
#ECF273 #73ACF2 #B973F2
monochromatic
#CDD714 #E4ED3B #ECF273 #F4F7AB #FBFCE3
Accessibility & contrast
On white
1.20
#ECF273 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.52
#ECF273 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF273
17.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF273 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF273 | 1.00 | 1.20 | 17.52 | 17.52 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE967
Deuteranopia (green-blind)
#FFEC7A
Tritanopia (blue-blind)
#FAE5D6
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #ecf273; /* rgb */ color: rgb(236, 242, 115); /* oklch */ color: oklch(93.2% 0.150 111.4);
Tailwind
colors: {
custom: {
50: '#f4f69f',
500: '#ecf273',
950: '#000000',
},
}SCSS
$custom: #ecf273; $custom-light: #f4f69f; $custom-dark: #000000;
JSON
{
"hex": "#ecf273",
"rgb": {
"r": 236,
"g": 242,
"b": 115
},
"hsl": {
"h": 62.835,
"s": 83.007,
"l": 70
},
"oklch": {
"l": 0.93167,
"c": 0.15014,
"h": 111.4
},
"luminance": 0.82575
}Semantic roles & 50–950 ramp
primary
#ECF273
secondary
#443DCC
accent
#06DF10
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580