#ECF06A#ECF06A
#ECF06A is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.7% C 0.156 H 110.7°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF06A |
|---|---|
| RGB | rgb(236, 240, 106) |
| HSL | hsl(62, 82%, 68%) |
| HSV | hsv(62, 56%, 94%) |
| CMYK | cmyk(1.7%, 0%, 55.8%, 5.9%) |
| CIE-LAB | lab(92.22, -18.49, 62.98) |
| CIE-LCH | lch(92.22, 65.63, 106.36°) |
| OKLab | oklab(92.65% -0.055 0.1458) |
| OKLCH | oklch(92.65% 0.156 110.7) |
| XYZ | xyz(68.3554, 81.1952, 25.7043) |
| Luminance | 0.8119 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 2.94
Yellowish Tan
#FCFC81
ΔE00 3.10
Custard
#FFFD78
ΔE00 3.22
Butter Yellow
#FFFD74
ΔE00 3.23
Light Yellow
#FFFE7A
ΔE00 3.29
Pastel Yellow
#FFFE71
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF06A #6E6AF0
analogous
#F0B16A #ECF06A #A9F06A
triadic
#ECF06A #6AECF0 #F06AEC
tetradic
#ECF06A #6AF0B1 #6E6AF0 #F06AA9
square
#ECF06A #6AF0B1 #6E6AF0 #F06AA9
split-complementary
#ECF06A #6AA9F0 #B16AF0
monochromatic
#C6CB14 #E5EA32 #ECF06A #F3F6A2 #FAFBD9
Accessibility & contrast
On white
1.22
#ECF06A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.24
#ECF06A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF06A
17.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF06A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF06A | 1.00 | 1.22 | 17.24 | 17.24 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE75C
Deuteranopia (green-blind)
#FFEB72
Tritanopia (blue-blind)
#FBE3D3
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #ecf06a; /* rgb */ color: rgb(236, 240, 106); /* oklch */ color: oklch(92.7% 0.156 110.7);
Tailwind
colors: {
custom: {
50: '#f5f499',
500: '#ecf06a',
950: '#000000',
},
}SCSS
$custom: #ecf06a; $custom-light: #f5f499; $custom-dark: #000000;
JSON
{
"hex": "#ecf06a",
"rgb": {
"r": 236,
"g": 240,
"b": 106
},
"hsl": {
"h": 61.791,
"s": 81.707,
"l": 67.843
},
"oklch": {
"l": 0.92652,
"c": 0.15586,
"h": 110.7
},
"luminance": 0.81194
}Semantic roles & 50–950 ramp
primary
#ECF06A
secondary
#3B36C8
accent
#07DE0E
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F