#E2E781#E2E781
#E2E781 is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.3% C 0.126 H 111.1°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E781 |
|---|---|
| RGB | rgb(226, 231, 129) |
| HSL | hsl(63, 68%, 71%) |
| HSV | hsv(63, 44%, 91%) |
| CMYK | cmyk(2.2%, 0%, 44.2%, 9.4%) |
| CIE-LAB | lab(89.35, -16.07, 48.86) |
| CIE-LCH | lch(89.35, 51.44, 108.20°) |
| OKLab | oklab(90.26% -0.0453 0.1173) |
| OKLCH | oklch(90.26% 0.126 111.1) |
| XYZ | xyz(63.9034, 74.9067, 31.8567) |
| Luminance | 0.7491 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 4.13
Light Khaki
#E6F2A2
ΔE00 4.91
Manilla
#FFFA86
ΔE00 5.37
Buff
#FEF69E
ΔE00 5.41
Yellowish Tan
#FCFC81
ΔE00 5.43
Straw
#FCF679
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E781 #8681E7
analogous
#E7B981 #E2E781 #AFE781
triadic
#E2E781 #81E2E7 #E781E2
tetradic
#E2E781 #81E7B9 #8681E7 #E781AF
square
#E2E781 #81E7B9 #8681E7 #E781AF
split-complementary
#E2E781 #81AFE7 #B981E7
monochromatic
#C0C826 #D6DD4E #E2E781 #EEF1B4 #F9FAE5
Accessibility & contrast
On white
1.31
#E2E781 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.98
#E2E781 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E781
15.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E781 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E781 | 1.00 | 1.31 | 15.98 | 15.98 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F5DF79
Deuteranopia (green-blind)
#F5E286
Tritanopia (blue-blind)
#EEDCCF
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #e2e781; /* rgb */ color: rgb(226, 231, 129); /* oklch */ color: oklch(90.3% 0.126 111.1);
Tailwind
colors: {
custom: {
50: '#edeea7',
500: '#e2e781',
950: '#000000',
},
}SCSS
$custom: #e2e781; $custom-light: #edeea7; $custom-dark: #000000;
JSON
{
"hex": "#e2e781",
"rgb": {
"r": 226,
"g": 231,
"b": 129
},
"hsl": {
"h": 62.941,
"s": 68,
"l": 70.588
},
"oklch": {
"l": 0.90258,
"c": 0.12577,
"h": 111.1
},
"luminance": 0.74906
}Semantic roles & 50–950 ramp
primary
#E2E781
secondary
#524DC0
accent
#16D01F
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#161610
muted
#858580