#E2E87F#E2E87F
#E2E87F is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.4% C 0.129 H 111.6°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E87F |
|---|---|
| RGB | rgb(226, 232, 127) |
| HSL | hsl(63, 70%, 70%) |
| HSV | hsv(63, 45%, 91%) |
| CMYK | cmyk(2.6%, 0%, 45.3%, 9%) |
| CIE-LAB | lab(89.59, -16.75, 50.11) |
| CIE-LCH | lch(89.59, 52.84, 108.48°) |
| OKLab | oklab(90.44% -0.0475 0.12) |
| OKLCH | oklch(90.44% 0.129 111.6) |
| XYZ | xyz(64.0524, 75.4154, 31.2570) |
| Luminance | 0.7541 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 4.46
Light Khaki
#E6F2A2
ΔE00 5.09
Yellowish Tan
#FCFC81
ΔE00 5.17
Manilla
#FFFA86
ΔE00 5.22
Straw
#FCF679
ΔE00 5.28
Buff
#FEF69E
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E87F #857FE8
analogous
#E8BA7F #E2E87F #ADE87F
triadic
#E2E87F #7FE2E8 #E87FE2
tetradic
#E2E87F #7FE8BA #857FE8 #E87FAD
square
#E2E87F #7FE8BA #857FE8 #E87FAD
split-complementary
#E2E87F #7FADE8 #BA7FE8
monochromatic
#BFC924 #D6DF4B #E2E87F #EEF1B3 #F9FAE5
Accessibility & contrast
On white
1.31
#E2E87F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.08
#E2E87F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E87F
16.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E87F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E87F | 1.00 | 1.31 | 16.08 | 16.08 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6E076
Deuteranopia (green-blind)
#F6E384
Tritanopia (blue-blind)
#EEDDCF
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #e2e87f; /* rgb */ color: rgb(226, 232, 127); /* oklch */ color: oklch(90.4% 0.129 111.6);
Tailwind
colors: {
custom: {
50: '#edefa6',
500: '#e2e87f',
950: '#000000',
},
}SCSS
$custom: #e2e87f; $custom-light: #edefa6; $custom-dark: #000000;
JSON
{
"hex": "#e2e87f",
"rgb": {
"r": 226,
"g": 232,
"b": 127
},
"hsl": {
"h": 63.429,
"s": 69.536,
"l": 70.392
},
"oklch": {
"l": 0.90439,
"c": 0.129,
"h": 111.6
},
"luminance": 0.75414
}Semantic roles & 50–950 ramp
primary
#E2E87F
secondary
#514BC1
accent
#14D21F
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16160F
muted
#858580