#E2EC6F#E2EC6F
#E2EC6F is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.1% C 0.149 H 113.1°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).
Color values
| HEX | #E2EC6F |
|---|---|
| RGB | rgb(226, 236, 111) |
| HSL | hsl(65, 77%, 68%) |
| HSV | hsv(65, 53%, 93%) |
| CMYK | cmyk(4.2%, 0%, 53%, 7.5%) |
| CIE-LAB | lab(90.46, -20.12, 58.57) |
| CIE-LCH | lch(90.46, 61.93, 108.96°) |
| OKLab | oklab(91.08% -0.0586 0.1371) |
| OKLCH | oklch(91.08% 0.149 113.1) |
| XYZ | xyz(64.2300, 77.3085, 26.5743) |
| Luminance | 0.7731 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 4.38
Straw
#FCF679
ΔE00 4.63
Faded Yellow
#FEFF7F
ΔE00 4.78
Butter
#FFFF81
ΔE00 4.90
Pale Yellow
#FFFF84
ΔE00 4.90
Banana (survey)
#FFFF7E
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2EC6F #796FEC
analogous
#ECB76F #E2EC6F #A3EC6F
triadic
#E2EC6F #6FE2EC #EC6FE2
tetradic
#E2EC6F #6FECB7 #796FEC #EC6FA3
square
#E2EC6F #6FECB7 #796FEC #EC6FA3
split-complementary
#E2EC6F #6FA3EC #B76FEC
monochromatic
#B9C61A #D7E539 #E2EC6F #EDF3A5 #F8FADB
Accessibility & contrast
On white
1.28
#E2EC6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.46
#E2EC6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2EC6F
16.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2EC6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2EC6F | 1.00 | 1.28 | 16.46 | 16.46 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FBE263
Deuteranopia (green-blind)
#FBE576
Tritanopia (blue-blind)
#EFE0D0
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #e2ec6f; /* rgb */ color: rgb(226, 236, 111); /* oklch */ color: oklch(91.1% 0.149 113.1);
Tailwind
colors: {
custom: {
50: '#edf29c',
500: '#e2ec6f',
950: '#000000',
},
}SCSS
$custom: #e2ec6f; $custom-light: #edf29c; $custom-dark: #000000;
JSON
{
"hex": "#e2ec6f",
"rgb": {
"r": 226,
"g": 236,
"b": 111
},
"hsl": {
"h": 64.8,
"s": 76.687,
"l": 68.039
},
"oklch": {
"l": 0.91081,
"c": 0.14906,
"h": 113.1
},
"luminance": 0.77307
}Semantic roles & 50–950 ramp
primary
#E2EC6F
secondary
#463BC4
accent
#0DD91D
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160E
muted
#85857F