#ECF266#ECF266
#ECF266 is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.0% C 0.161 H 111.4°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF266 |
|---|---|
| RGB | rgb(236, 242, 102) |
| HSL | hsl(63, 84%, 67%) |
| HSV | hsv(63, 58%, 95%) |
| CMYK | cmyk(2.5%, 0%, 57.9%, 5.1%) |
| CIE-LAB | lab(92.71, -19.74, 65.23) |
| CIE-LCH | lch(92.71, 68.15, 106.84°) |
| OKLab | oklab(93.03% -0.059 0.1502) |
| OKLCH | oklch(93.03% 0.161 111.4) |
| XYZ | xyz(68.7443, 82.2980, 24.8316) |
| Luminance | 0.8230 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Butter Yellow
#FFFD74
ΔE00 3.13
Pastel Yellow
#FFFE71
ΔE00 3.15
Custard
#FFFD78
ΔE00 3.19
Light Yellow
#FFFE7A
ΔE00 3.24
Yellowish Tan
#FCFC81
ΔE00 3.24
Straw
#FCF679
ΔE00 3.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF266 #6C66F2
analogous
#F2B266 #ECF266 #A6F266
triadic
#ECF266 #66ECF2 #F266EC
tetradic
#ECF266 #66F2B2 #6C66F2 #F266A6
square
#ECF266 #66F2B2 #6C66F2 #F266A6
split-complementary
#ECF266 #66A6F2 #B266F2
monochromatic
#C4CC11 #E5ED2E #ECF266 #F3F79E #FAFCD7
Accessibility & contrast
On white
1.20
#ECF266 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.46
#ECF266 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF266
17.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF266 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF266 | 1.00 | 1.20 | 17.46 | 17.46 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE856
Deuteranopia (green-blind)
#FFEC6E
Tritanopia (blue-blind)
#FBE5D4
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #ecf266; /* rgb */ color: rgb(236, 242, 102); /* oklch */ color: oklch(93.0% 0.161 111.4);
Tailwind
colors: {
custom: {
50: '#f5f697',
500: '#ecf266',
950: '#000000',
},
}SCSS
$custom: #ecf266; $custom-light: #f5f697; $custom-dark: #000000;
JSON
{
"hex": "#ecf266",
"rgb": {
"r": 236,
"g": 242,
"b": 102
},
"hsl": {
"h": 62.571,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.9303,
"c": 0.16133,
"h": 111.4
},
"luminance": 0.82296
}Semantic roles & 50–950 ramp
primary
#ECF266
secondary
#3A34C9
accent
#05E10E
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F