#ECF670#ECF670
#ECF670 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.0% C 0.157 H 112.9°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF670 |
|---|---|
| RGB | rgb(236, 246, 112) |
| HSL | hsl(64, 88%, 70%) |
| HSV | hsv(64, 54%, 96%) |
| CMYK | cmyk(4.1%, 0%, 54.5%, 3.5%) |
| CIE-LAB | lab(93.85, -20.93, 62.20) |
| CIE-LCH | lch(93.85, 65.63, 108.59°) |
| OKLab | oklab(93.97% -0.0613 0.1448) |
| OKLCH | oklch(93.97% 0.157 112.9) |
| XYZ | xyz(70.4740, 84.9156, 28.0040) |
| Luminance | 0.8491 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.91
Faded Yellow
#FEFF7F
ΔE00 2.98
Banana (survey)
#FFFF7E
ΔE00 3.14
Light Yellow
#FFFE7A
ΔE00 3.19
Butter
#FFFF81
ΔE00 3.20
Custard
#FFFD78
ΔE00 3.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF670 #7A70F6
analogous
#F6BD70 #ECF670 #A9F670
triadic
#ECF670 #70ECF6 #F670EC
tetradic
#ECF670 #70F6BD #7A70F6 #F670A9
square
#ECF670 #70F6BD #7A70F6 #F670A9
split-complementary
#ECF670 #70A9F6 #BD70F6
monochromatic
#CEDE0E #E4F236 #ECF670 #F4FAAA #FBFDE2
Accessibility & contrast
On white
1.17
#ECF670 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.98
#ECF670 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF670
17.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF670 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF670 | 1.00 | 1.17 | 17.98 | 17.98 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC62
Deuteranopia (green-blind)
#FFEF78
Tritanopia (blue-blind)
#FAE9D9
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #ecf670; /* rgb */ color: rgb(236, 246, 112); /* oklch */ color: oklch(94.0% 0.157 112.9);
Tailwind
colors: {
custom: {
50: '#f5f99d',
500: '#ecf670',
950: '#000000',
},
}SCSS
$custom: #ecf670; $custom-light: #f5f99d; $custom-dark: #000000;
JSON
{
"hex": "#ecf670",
"rgb": {
"r": 236,
"g": 246,
"b": 112
},
"hsl": {
"h": 64.478,
"s": 88.158,
"l": 70.196
},
"oklch": {
"l": 0.93971,
"c": 0.15726,
"h": 112.9
},
"luminance": 0.84914
}Semantic roles & 50–950 ramp
primary
#ECF670
secondary
#453AD0
accent
#01E512
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580