#ECF982#ECF982
#ECF982 is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 94.8% C 0.144 H 114.3°. Best body text is #000000 at 18.44:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF982 |
|---|---|
| RGB | rgb(236, 249, 130) |
| HSL | hsl(67, 91%, 74%) |
| HSV | hsv(67, 48%, 98%) |
| CMYK | cmyk(5.2%, 0%, 47.8%, 2.4%) |
| CIE-LAB | lab(94.82, -20.84, 55.22) |
| CIE-LCH | lch(94.82, 59.02, 110.68°) |
| OKLab | oklab(94.81% -0.0593 0.1313) |
| OKLCH | oklch(94.81% 0.144 114.3) |
| XYZ | xyz(72.4981, 87.1970, 34.1263) |
| Luminance | 0.8720 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 3.30
Pale Yellow
#FFFF84
ΔE00 3.53
Faded Yellow
#FEFF7F
ΔE00 3.53
Butter
#FFFF81
ΔE00 3.64
Banana (survey)
#FFFF7E
ΔE00 3.79
Light Yellow
#FFFE7A
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF982 #8F82F9
analogous
#F9CB82 #ECF982 #B1F982
triadic
#ECF982 #82ECF9 #F982EC
tetradic
#ECF982 #82F9CB #8F82F9 #F982B1
square
#ECF982 #82F9CB #8F82F9 #F982B1
split-complementary
#ECF982 #82B1F9 #CB82F9
monochromatic
#DAF30D #E3F648 #ECF982 #F5FCBC #FBFEE2
Accessibility & contrast
On white
1.14
#ECF982 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.44
#ECF982 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF982
18.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF982 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF982 | 1.00 | 1.14 | 18.44 | 18.44 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF77
Deuteranopia (green-blind)
#FFF188
Tritanopia (blue-blind)
#F8EDDD
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #ecf982; /* rgb */ color: rgb(236, 249, 130); /* oklch */ color: oklch(94.8% 0.144 114.3);
Tailwind
colors: {
custom: {
50: '#f4fba9',
500: '#ecf982',
950: '#000000',
},
}SCSS
$custom: #ecf982; $custom-light: #f4fba9; $custom-dark: #000000;
JSON
{
"hex": "#ecf982",
"rgb": {
"r": 236,
"g": 249,
"b": 130
},
"hsl": {
"h": 66.555,
"s": 90.84,
"l": 74.314
},
"oklch": {
"l": 0.94811,
"c": 0.14409,
"h": 114.3
},
"luminance": 0.87196
}Semantic roles & 50–950 ramp
primary
#ECF982
secondary
#5849D6
accent
#00E619
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581