#ECFA8E#ECFA8E
#ECFA8E is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.2% C 0.133 H 115.0°. Best body text is #000000 at 18.63:1 contrast (WCAG AA passes).
Color values
| HEX | #ECFA8E |
|---|---|
| RGB | rgb(236, 250, 142) |
| HSL | hsl(68, 92%, 77%) |
| HSV | hsv(68, 43%, 98%) |
| CMYK | cmyk(5.6%, 0%, 43.2%, 2%) |
| CIE-LAB | lab(95.23, -20.16, 50.07) |
| CIE-LCH | lch(95.23, 53.98, 111.93°) |
| OKLab | oklab(95.18% -0.0564 0.1207) |
| OKLCH | oklch(95.18% 0.133 115) |
| XYZ | xyz(73.6609, 88.1579, 38.7217) |
| Luminance | 0.8816 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 4.21
Pale Yellow
#FFFF84
ΔE00 4.35
Light Khaki
#E6F2A2
ΔE00 4.51
Faded Yellow
#FEFF7F
ΔE00 4.54
Butter
#FFFF81
ΔE00 4.57
Banana (survey)
#FFFF7E
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECFA8E #9C8EFA
analogous
#FAD28E #ECFA8E #B6FA8E
triadic
#ECFA8E #8EECFA #FA8EEC
tetradic
#ECFA8E #8EFAD2 #9C8EFA #FA8EB6
square
#ECFA8E #8EFAD2 #9C8EFA #FA8EB6
split-complementary
#ECFA8E #8EB6FA #D28EFA
monochromatic
#D8F519 #E2F753 #ECFA8E #F6FDC9 #FAFEE2
Accessibility & contrast
On white
1.13
#ECFA8E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.63
#ECFA8E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECFA8E
18.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECFA8E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECFA8E | 1.00 | 1.13 | 18.63 | 18.63 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF085
Deuteranopia (green-blind)
#FFF293
Tritanopia (blue-blind)
#F7EFE0
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #ecfa8e; /* rgb */ color: rgb(236, 250, 142); /* oklch */ color: oklch(95.2% 0.133 115.0);
Tailwind
colors: {
custom: {
50: '#f4fbb1',
500: '#ecfa8e',
950: '#000000',
},
}SCSS
$custom: #ecfa8e; $custom-light: #f4fbb1; $custom-dark: #000000;
JSON
{
"hex": "#ecfa8e",
"rgb": {
"r": 236,
"g": 250,
"b": 142
},
"hsl": {
"h": 67.778,
"s": 91.525,
"l": 76.863
},
"oklch": {
"l": 0.95181,
"c": 0.13325,
"h": 115
},
"luminance": 0.88157
}Semantic roles & 50–950 ramp
primary
#ECFA8E
secondary
#6453D9
accent
#00E61E
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581