#E2EC6C#E2EC6C
#E2EC6C is a very light, vivid yellow. Relative luminance 0.772; OKLCH L 91.0% C 0.152 H 113.1°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).
Color values
| HEX | #E2EC6C |
|---|---|
| RGB | rgb(226, 236, 108) |
| HSL | hsl(65, 77%, 67%) |
| HSV | hsv(65, 54%, 93%) |
| CMYK | cmyk(4.2%, 0%, 54.2%, 7.5%) |
| CIE-LAB | lab(90.43, -20.37, 59.88) |
| CIE-LCH | lch(90.43, 63.24, 108.79°) |
| OKLab | oklab(91.05% -0.0595 0.1396) |
| OKLCH | oklch(91.05% 0.152 113.1) |
| XYZ | xyz(64.0676, 77.2435, 25.7189) |
| Luminance | 0.7724 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 4.39
Straw
#FCF679
ΔE00 4.59
Faded Yellow
#FEFF7F
ΔE00 4.76
Butter
#FFFF81
ΔE00 4.89
Banana (survey)
#FFFF7E
ΔE00 4.89
Light Yellow
#FFFE7A
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2EC6C #766CEC
analogous
#ECB66C #E2EC6C #A2EC6C
triadic
#E2EC6C #6CE2EC #EC6CE2
tetradic
#E2EC6C #6CECB6 #766CEC #EC6CA2
square
#E2EC6C #6CECB6 #766CEC #EC6CA2
split-complementary
#E2EC6C #6CA2EC #B66CEC
monochromatic
#B7C419 #D7E536 #E2EC6C #EDF3A2 #F7FAD8
Accessibility & contrast
On white
1.28
#E2EC6C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.45
#E2EC6C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2EC6C
16.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2EC6C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2EC6C | 1.00 | 1.28 | 16.45 | 16.45 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FBE25F
Deuteranopia (green-blind)
#FBE573
Tritanopia (blue-blind)
#EFE0D0
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #e2ec6c; /* rgb */ color: rgb(226, 236, 108); /* oklch */ color: oklch(91.0% 0.152 113.1);
Tailwind
colors: {
custom: {
50: '#edf29a',
500: '#e2ec6c',
950: '#000000',
},
}SCSS
$custom: #e2ec6c; $custom-light: #edf29a; $custom-dark: #000000;
JSON
{
"hex": "#e2ec6c",
"rgb": {
"r": 226,
"g": 236,
"b": 108
},
"hsl": {
"h": 64.688,
"s": 77.108,
"l": 67.451
},
"oklch": {
"l": 0.91047,
"c": 0.15175,
"h": 113.1
},
"luminance": 0.77242
}Semantic roles & 50–950 ramp
primary
#E2EC6C
secondary
#453AC2
accent
#0CD91C
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160E
muted
#85857F