#ECFA6C#ECFA6C
#ECFA6C is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 94.8% C 0.165 H 114.3°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).
Color values
| HEX | #ECFA6C |
|---|---|
| RGB | rgb(236, 250, 108) |
| HSL | hsl(66, 93%, 70%) |
| HSV | hsv(66, 57%, 98%) |
| CMYK | cmyk(5.6%, 0%, 56.8%, 2%) |
| CIE-LAB | lab(94.86, -23.14, 65.08) |
| CIE-LCH | lch(94.86, 69.07, 109.57°) |
| OKLab | oklab(94.77% -0.0679 0.1505) |
| OKLCH | oklch(94.77% 0.165 114.3) |
| XYZ | xyz(71.4860, 87.2880, 27.2669) |
| Luminance | 0.8729 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Faded Yellow
#FEFF7F
ΔE00 3.34
Banana (survey)
#FFFF7E
ΔE00 3.50
Canary
#FDFF63
ΔE00 3.52
Yellowish Tan
#FCFC81
ΔE00 3.53
Pastel Yellow
#FFFE71
ΔE00 3.54
Light Yellow
#FFFE7A
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECFA6C #7A6CFA
analogous
#FAC16C #ECFA6C #A5FA6C
triadic
#ECFA6C #6CECFA #FA6CEC
tetradic
#ECFA6C #6CFAC1 #7A6CFA #FA6CA5
square
#ECFA6C #6CFAC1 #7A6CFA #FA6CA5
split-complementary
#ECFA6C #6CA5FA #C16CFA
monochromatic
#CEE408 #E4F831 #ECFA6C #F4FCA7 #FBFEE1
Accessibility & contrast
On white
1.14
#ECFA6C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.46
#ECFA6C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECFA6C
18.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECFA6C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECFA6C | 1.00 | 1.14 | 18.46 | 18.46 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF5D
Deuteranopia (green-blind)
#FFF275
Tritanopia (blue-blind)
#FAEDDB
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #ecfa6c; /* rgb */ color: rgb(236, 250, 108); /* oklch */ color: oklch(94.8% 0.165 114.3);
Tailwind
colors: {
custom: {
50: '#f5fb9b',
500: '#ecfa6c',
950: '#000000',
},
}SCSS
$custom: #ecfa6c; $custom-light: #f5fb9b; $custom-dark: #000000;
JSON
{
"hex": "#ecfa6c",
"rgb": {
"r": 236,
"g": 250,
"b": 108
},
"hsl": {
"h": 65.915,
"s": 93.421,
"l": 70.196
},
"oklch": {
"l": 0.94769,
"c": 0.16516,
"h": 114.3
},
"luminance": 0.87287
}Semantic roles & 50–950 ramp
primary
#ECFA6C
secondary
#4535D5
accent
#00E617
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F