#ECF26C#ECF26C
#ECF26C is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 93.1% C 0.156 H 111.4°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF26C |
|---|---|
| RGB | rgb(236, 242, 108) |
| HSL | hsl(63, 84%, 69%) |
| HSV | hsv(63, 55%, 95%) |
| CMYK | cmyk(2.5%, 0%, 55.4%, 5.1%) |
| CIE-LAB | lab(92.76, -19.31, 62.72) |
| CIE-LCH | lch(92.76, 65.62, 107.11°) |
| OKLab | oklab(93.09% -0.0571 0.1455) |
| OKLCH | oklch(93.09% 0.156 111.4) |
| XYZ | xyz(69.0526, 82.4213, 26.4558) |
| Luminance | 0.8242 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.93
Straw
#FCF679
ΔE00 3.12
Custard
#FFFD78
ΔE00 3.14
Faded Yellow
#FEFF7F
ΔE00 3.15
Light Yellow
#FFFE7A
ΔE00 3.16
Butter Yellow
#FFFD74
ΔE00 3.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF26C #726CF2
analogous
#F2B56C #ECF26C #A9F26C
triadic
#ECF26C #6CECF2 #F26CEC
tetradic
#ECF26C #6CF2B5 #726CF2 #F26CA9
square
#ECF26C #6CF2B5 #726CF2 #F26CA9
split-complementary
#ECF26C #6CA9F2 #B56CF2
monochromatic
#C9D112 #E5ED34 #ECF26C #F3F7A4 #FBFCDC
Accessibility & contrast
On white
1.20
#ECF26C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.48
#ECF26C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF26C
17.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF26C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF26C | 1.00 | 1.20 | 17.48 | 17.48 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE85E
Deuteranopia (green-blind)
#FFEC74
Tritanopia (blue-blind)
#FAE5D5
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #ecf26c; /* rgb */ color: rgb(236, 242, 108); /* oklch */ color: oklch(93.1% 0.156 111.4);
Tailwind
colors: {
custom: {
50: '#f5f69a',
500: '#ecf26c',
950: '#000000',
},
}SCSS
$custom: #ecf26c; $custom-light: #f5f69a; $custom-dark: #000000;
JSON
{
"hex": "#ecf26c",
"rgb": {
"r": 236,
"g": 242,
"b": 108
},
"hsl": {
"h": 62.687,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.93091,
"c": 0.15631,
"h": 111.4
},
"luminance": 0.8242
}Semantic roles & 50–950 ramp
primary
#ECF26C
secondary
#3E37CB
accent
#05E00F
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F