#ECF86C#ECF86C
#ECF86C is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.3% C 0.163 H 113.6°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF86C |
|---|---|
| RGB | rgb(236, 248, 108) |
| HSL | hsl(65, 91%, 70%) |
| HSV | hsv(65, 56%, 97%) |
| CMYK | cmyk(4.8%, 0%, 56.5%, 2.7%) |
| CIE-LAB | lab(94.33, -22.19, 64.49) |
| CIE-LCH | lch(94.33, 68.20, 108.99°) |
| OKLab | oklab(94.35% -0.0652 0.1493) |
| OKLCH | oklch(94.35% 0.163 113.6) |
| XYZ | xyz(70.8678, 86.0516, 27.0608) |
| Luminance | 0.8605 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Faded Yellow
#FEFF7F
ΔE00 3.16
Yellowish Tan
#FCFC81
ΔE00 3.27
Banana (survey)
#FFFF7E
ΔE00 3.31
Light Yellow
#FFFE7A
ΔE00 3.33
Pastel Yellow
#FFFE71
ΔE00 3.36
Butter
#FFFF81
ΔE00 3.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF86C #786CF8
analogous
#F8BE6C #ECF86C #A6F86C
triadic
#ECF86C #6CECF8 #F86CEC
tetradic
#ECF86C #6CF8BE #786CF8 #F86CA6
square
#ECF86C #6CF8BE #786CF8 #F86CA6
split-complementary
#ECF86C #6CA6F8 #BE6CF8
monochromatic
#CDDF0B #E4F532 #ECF86C #F4FBA6 #FBFEE1
Accessibility & contrast
On white
1.15
#ECF86C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.21
#ECF86C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF86C
18.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF86C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF86C | 1.00 | 1.15 | 18.21 | 18.21 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED5D
Deuteranopia (green-blind)
#FFF074
Tritanopia (blue-blind)
#FAEBDA
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #ecf86c; /* rgb */ color: rgb(236, 248, 108); /* oklch */ color: oklch(94.3% 0.163 113.6);
Tailwind
colors: {
custom: {
50: '#f5fa9b',
500: '#ecf86c',
950: '#000000',
},
}SCSS
$custom: #ecf86c; $custom-light: #f5fa9b; $custom-dark: #000000;
JSON
{
"hex": "#ecf86c",
"rgb": {
"r": 236,
"g": 248,
"b": 108
},
"hsl": {
"h": 65.143,
"s": 90.909,
"l": 69.804
},
"oklch": {
"l": 0.94348,
"c": 0.16292,
"h": 113.6
},
"luminance": 0.8605
}Semantic roles & 50–950 ramp
primary
#ECF86C
secondary
#4336D2
accent
#00E614
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F