#ECF062#ECF062
#ECF062 is a very light, vivid yellow. Relative luminance 0.810; OKLCH L 92.6% C 0.162 H 110.7°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF062 |
|---|---|
| RGB | rgb(236, 240, 98) |
| HSL | hsl(62, 83%, 66%) |
| HSV | hsv(62, 59%, 94%) |
| CMYK | cmyk(1.7%, 0%, 59.2%, 5.9%) |
| CIE-LAB | lab(92.15, -19.05, 66.30) |
| CIE-LCH | lch(92.15, 68.98, 106.03°) |
| OKLab | oklab(92.57% -0.0574 0.1519) |
| OKLCH | oklch(92.57% 0.162 110.7) |
| XYZ | xyz(67.9586, 81.0365, 23.6146) |
| Luminance | 0.8104 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 3.24
Butter Yellow
#FFFD74
ΔE00 3.24
Pastel Yellow
#FFFE71
ΔE00 3.27
Custard
#FFFD78
ΔE00 3.34
Off Yellow
#F1F33F
ΔE00 3.40
Canary
#FDFF63
ΔE00 3.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF062 #6662F0
analogous
#F0AD62 #ECF062 #A5F062
triadic
#ECF062 #62ECF0 #F062EC
tetradic
#ECF062 #62F0AD #6662F0 #F062A5
square
#ECF062 #62F0AD #6662F0 #F062A5
split-complementary
#ECF062 #62A5F0 #AD62F0
monochromatic
#C0C513 #E5EB2A #ECF062 #F3F59A #FAFBD2
Accessibility & contrast
On white
1.22
#ECF062 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.21
#ECF062 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF062
17.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF062 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF062 | 1.00 | 1.22 | 17.21 | 17.21 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE651
Deuteranopia (green-blind)
#FFEA6B
Tritanopia (blue-blind)
#FBE2D2
Achromatopsia (no color)
#E8E8E8
Design tokens & code
CSS
--color: #ecf062; /* rgb */ color: rgb(236, 240, 98); /* oklch */ color: oklch(92.6% 0.162 110.7);
Tailwind
colors: {
custom: {
50: '#f5f494',
500: '#ecf062',
950: '#000000',
},
}SCSS
$custom: #ecf062; $custom-light: #f5f494; $custom-dark: #000000;
JSON
{
"hex": "#ecf062",
"rgb": {
"r": 236,
"g": 240,
"b": 98
},
"hsl": {
"h": 61.69,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.92573,
"c": 0.16242,
"h": 110.7
},
"luminance": 0.81035
}Semantic roles & 50–950 ramp
primary
#ECF062
secondary
#3834C2
accent
#07DF0D
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F