#ECF261#ECF261
#ECF261 is a very light, vivid yellow. Relative luminance 0.822; OKLCH L 93.0% C 0.165 H 111.4°. Best body text is #000000 at 17.44:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF261 |
|---|---|
| RGB | rgb(236, 242, 97) |
| HSL | hsl(62, 85%, 66%) |
| HSV | hsv(62, 60%, 95%) |
| CMYK | cmyk(2.5%, 0%, 59.9%, 5.1%) |
| CIE-LAB | lab(92.66, -20.09, 67.27) |
| CIE-LCH | lch(92.66, 70.21, 106.62°) |
| OKLab | oklab(92.98% -0.0604 0.1539) |
| OKLCH | oklch(92.98% 0.165 111.4) |
| XYZ | xyz(68.5037, 82.2018, 23.5648) |
| Luminance | 0.8220 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 3.14
Pastel Yellow
#FFFE71
ΔE00 3.15
Butter Yellow
#FFFD74
ΔE00 3.19
Off Yellow
#F1F33F
ΔE00 3.27
Custard
#FFFD78
ΔE00 3.31
Light Yellow
#FFFE7A
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF261 #6761F2
analogous
#F2B061 #ECF261 #A4F261
triadic
#ECF261 #61ECF2 #F261EC
tetradic
#ECF261 #61F2B0 #6761F2 #F261A4
square
#ECF261 #61F2B0 #6761F2 #F261A4
split-complementary
#ECF261 #61A4F2 #B061F2
monochromatic
#C1C810 #E5ED28 #ECF261 #F3F79A #FAFBD2
Accessibility & contrast
On white
1.20
#ECF261 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.44
#ECF261 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF261
17.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF261 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF261 | 1.00 | 1.20 | 17.44 | 17.44 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE850
Deuteranopia (green-blind)
#FFEC6A
Tritanopia (blue-blind)
#FBE4D3
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #ecf261; /* rgb */ color: rgb(236, 242, 97); /* oklch */ color: oklch(93.0% 0.165 111.4);
Tailwind
colors: {
custom: {
50: '#f5f694',
500: '#ecf261',
950: '#000000',
},
}SCSS
$custom: #ecf261; $custom-light: #f5f694; $custom-dark: #000000;
JSON
{
"hex": "#ecf261",
"rgb": {
"r": 236,
"g": 242,
"b": 97
},
"hsl": {
"h": 62.483,
"s": 84.795,
"l": 66.471
},
"oklch": {
"l": 0.92982,
"c": 0.16531,
"h": 111.4
},
"luminance": 0.822
}Semantic roles & 50–950 ramp
primary
#ECF261
secondary
#3832C5
accent
#04E10D
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F