#E2EC6D#E2EC6D
#E2EC6D is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.1% C 0.151 H 113.1°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).
Color values
| HEX | #E2EC6D |
|---|---|
| RGB | rgb(226, 236, 109) |
| HSL | hsl(65, 77%, 68%) |
| HSV | hsv(65, 54%, 93%) |
| CMYK | cmyk(4.2%, 0%, 53.8%, 7.5%) |
| CIE-LAB | lab(90.44, -20.29, 59.44) |
| CIE-LCH | lch(90.44, 62.81, 108.84°) |
| OKLab | oklab(91.06% -0.0592 0.1388) |
| OKLCH | oklch(91.06% 0.151 113.1) |
| XYZ | xyz(64.1211, 77.2649, 26.0008) |
| Luminance | 0.7726 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 4.38
Straw
#FCF679
ΔE00 4.60
Faded Yellow
#FEFF7F
ΔE00 4.76
Butter
#FFFF81
ΔE00 4.89
Banana (survey)
#FFFF7E
ΔE00 4.90
Pale Yellow
#FFFF84
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2EC6D #776DEC
analogous
#ECB66D #E2EC6D #A3EC6D
triadic
#E2EC6D #6DE2EC #EC6DE2
tetradic
#E2EC6D #6DECB6 #776DEC #EC6DA3
square
#E2EC6D #6DECB6 #776DEC #EC6DA3
split-complementary
#E2EC6D #6DA3EC #B66DEC
monochromatic
#B7C51A #D7E537 #E2EC6D #EDF3A3 #F8FAD9
Accessibility & contrast
On white
1.28
#E2EC6D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.45
#E2EC6D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2EC6D
16.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2EC6D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2EC6D | 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)
#FBE260
Deuteranopia (green-blind)
#FBE574
Tritanopia (blue-blind)
#EFE0D0
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #e2ec6d; /* rgb */ color: rgb(226, 236, 109); /* oklch */ color: oklch(91.1% 0.151 113.1);
Tailwind
colors: {
custom: {
50: '#edf29a',
500: '#e2ec6d',
950: '#000000',
},
}SCSS
$custom: #e2ec6d; $custom-light: #edf29a; $custom-dark: #000000;
JSON
{
"hex": "#e2ec6d",
"rgb": {
"r": 226,
"g": 236,
"b": 109
},
"hsl": {
"h": 64.724,
"s": 76.97,
"l": 67.647
},
"oklch": {
"l": 0.91058,
"c": 0.15086,
"h": 113.1
},
"luminance": 0.77264
}Semantic roles & 50–950 ramp
primary
#E2EC6D
secondary
#453AC3
accent
#0CD91C
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160E
muted
#85857F