#ECF17C#ECF17C
#ECF17C is a very light, vivid yellow. Relative luminance 0.822; OKLCH L 93.1% C 0.141 H 111.0°. Best body text is #000000 at 17.44:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF17C |
|---|---|
| RGB | rgb(236, 241, 124) |
| HSL | hsl(63, 81%, 72%) |
| HSV | hsv(63, 49%, 95%) |
| CMYK | cmyk(2.1%, 0%, 48.5%, 5.5%) |
| CIE-LAB | lab(92.66, -17.52, 55.41) |
| CIE-LCH | lch(92.66, 58.11, 107.54°) |
| OKLab | oklab(93.07% -0.0504 0.1313) |
| OKLCH | oklch(93.07% 0.141 111) |
| XYZ | xyz(69.6868, 82.2001, 31.2601) |
| Luminance | 0.8220 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.83
Straw
#FCF679
ΔE00 3.26
Manilla
#FFFA86
ΔE00 3.27
Pale Yellow
#FFFF84
ΔE00 3.36
Faded Yellow
#FEFF7F
ΔE00 3.41
Butter
#FFFF81
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF17C #817CF1
analogous
#F1BC7C #ECF17C #B2F17C
triadic
#ECF17C #7CECF1 #F17CEC
tetradic
#ECF17C #7CF1BC #817CF1 #F17CB2
square
#ECF17C #7CF1BC #817CF1 #F17CB2
split-complementary
#ECF17C #7CB2F1 #BC7CF1
monochromatic
#D3DB17 #E4EB45 #ECF17C #F4F7B3 #FBFCE3
Accessibility & contrast
On white
1.20
#ECF17C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.44
#ECF17C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF17C
17.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF17C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF17C | 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)
#FFE871
Deuteranopia (green-blind)
#FFEC82
Tritanopia (blue-blind)
#F9E5D6
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #ecf17c; /* rgb */ color: rgb(236, 241, 124); /* oklch */ color: oklch(93.1% 0.141 111.0);
Tailwind
colors: {
custom: {
50: '#f4f5a4',
500: '#ecf17c',
950: '#000000',
},
}SCSS
$custom: #ecf17c; $custom-light: #f4f5a4; $custom-dark: #000000;
JSON
{
"hex": "#ecf17c",
"rgb": {
"r": 236,
"g": 241,
"b": 124
},
"hsl": {
"h": 62.564,
"s": 80.69,
"l": 71.569
},
"oklch": {
"l": 0.93066,
"c": 0.14062,
"h": 111
},
"luminance": 0.82199
}Semantic roles & 50–950 ramp
primary
#ECF17C
secondary
#4B46CB
accent
#08DD12
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580