#E3EC8A#E3EC8A
#E3EC8A is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.5% C 0.122 H 113.1°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).
Color values
| HEX | #E3EC8A |
|---|---|
| RGB | rgb(227, 236, 138) |
| HSL | hsl(66, 72%, 73%) |
| HSV | hsv(66, 42%, 93%) |
| CMYK | cmyk(3.8%, 0%, 41.5%, 7.5%) |
| CIE-LAB | lab(90.85, -17.22, 46.40) |
| CIE-LCH | lch(90.85, 49.49, 110.36°) |
| OKLab | oklab(91.51% -0.0479 0.1123) |
| OKLCH | oklch(91.51% 0.122 113.1) |
| XYZ | xyz(66.2622, 78.1577, 35.6351) |
| Luminance | 0.7816 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 3.53
Khaki (CSS)
#F0E68C
ΔE00 4.91
Buff
#FEF69E
ΔE00 5.28
Yellowish Tan
#FCFC81
ΔE00 5.51
Manilla
#FFFA86
ΔE00 5.58
Parchment
#FEFCAF
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E3EC8A #938AEC
analogous
#ECC48A #E3EC8A #B2EC8A
triadic
#E3EC8A #8AE3EC #EC8AE3
tetradic
#E3EC8A #8AECC4 #938AEC #EC8AB2
square
#E3EC8A #8AECC4 #938AEC #EC8AB2
split-complementary
#E3EC8A #8AB2EC #C48AEC
monochromatic
#C8D823 #D6E355 #E3EC8A #F0F5BF #F9FBE5
Accessibility & contrast
On white
1.26
#E3EC8A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.63
#E3EC8A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E3EC8A
16.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E3EC8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E3EC8A | 1.00 | 1.26 | 16.63 | 16.63 |
| #FFFFFF | 1.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9E482
Deuteranopia (green-blind)
#F9E68F
Tritanopia (blue-blind)
#EEE2D4
Achromatopsia (no color)
#E5E5E5
Design tokens & code
CSS
--color: #e3ec8a; /* rgb */ color: rgb(227, 236, 138); /* oklch */ color: oklch(91.5% 0.122 113.1);
Tailwind
colors: {
custom: {
50: '#edf2ad',
500: '#e3ec8a',
950: '#000000',
},
}SCSS
$custom: #e3ec8a; $custom-light: #edf2ad; $custom-dark: #000000;
JSON
{
"hex": "#e3ec8a",
"rgb": {
"r": 227,
"g": 236,
"b": 138
},
"hsl": {
"h": 65.51,
"s": 72.059,
"l": 73.333
},
"oklch": {
"l": 0.91511,
"c": 0.12214,
"h": 113.1
},
"luminance": 0.78157
}Semantic roles & 50–950 ramp
primary
#E3EC8A
secondary
#5E54C7
accent
#11D423
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161610
muted
#858581