#E7EC8A#E7EC8A
#E7EC8A is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 91.8% C 0.121 H 111.1°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).
Color values
| HEX | #E7EC8A |
|---|---|
| RGB | rgb(231, 236, 138) |
| HSL | hsl(63, 72%, 73%) |
| HSV | hsv(63, 42%, 93%) |
| CMYK | cmyk(2.1%, 0%, 41.5%, 7.5%) |
| CIE-LAB | lab(91.15, -15.68, 46.84) |
| CIE-LCH | lch(91.15, 49.39, 108.51°) |
| OKLab | oklab(91.82% -0.0437 0.1133) |
| OKLCH | oklch(91.82% 0.121 111.1) |
| XYZ | xyz(67.5388, 78.8160, 35.6950) |
| Luminance | 0.7882 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 3.93
Khaki (CSS)
#F0E68C
ΔE00 4.00
Buff
#FEF69E
ΔE00 4.47
Manilla
#FFFA86
ΔE00 4.85
Yellowish Tan
#FCFC81
ΔE00 4.97
Dark Cream
#FFF39A
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7EC8A #8F8AEC
analogous
#ECC08A #E7EC8A #B6EC8A
triadic
#E7EC8A #8AE7EC #EC8AE7
tetradic
#E7EC8A #8AECC0 #8F8AEC #EC8AB6
square
#E7EC8A #8AECC0 #8F8AEC #EC8AB6
split-complementary
#E7EC8A #8AB6EC #C08AEC
monochromatic
#CFD823 #DCE355 #E7EC8A #F2F5BF #FAFBE5
Accessibility & contrast
On white
1.25
#E7EC8A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.76
#E7EC8A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7EC8A
16.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7EC8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7EC8A | 1.00 | 1.25 | 16.76 | 16.76 |
| #FFFFFF | 1.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FAE482
Deuteranopia (green-blind)
#FAE78F
Tritanopia (blue-blind)
#F3E1D4
Achromatopsia (no color)
#E6E6E6
Design tokens & code
CSS
--color: #e7ec8a; /* rgb */ color: rgb(231, 236, 138); /* oklch */ color: oklch(91.8% 0.121 111.1);
Tailwind
colors: {
custom: {
50: '#f0f2ae',
500: '#e7ec8a',
950: '#000000',
},
}SCSS
$custom: #e7ec8a; $custom-light: #f0f2ae; $custom-dark: #000000;
JSON
{
"hex": "#e7ec8a",
"rgb": {
"r": 231,
"g": 236,
"b": 138
},
"hsl": {
"h": 63.061,
"s": 72.059,
"l": 73.333
},
"oklch": {
"l": 0.91823,
"c": 0.12143,
"h": 111.1
},
"luminance": 0.78815
}Semantic roles & 50–950 ramp
primary
#E7EC8A
secondary
#5A54C7
accent
#11D41B
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171610
muted
#858581