#E2E27E#E2E27E
#E2E27E is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 89.2% C 0.123 H 108.7°. Best body text is #000000 at 15.41:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E27E |
|---|---|
| RGB | rgb(226, 226, 126) |
| HSL | hsl(60, 63%, 69%) |
| HSV | hsv(60, 44%, 89%) |
| CMYK | cmyk(0%, 0%, 44.2%, 11.4%) |
| CIE-LAB | lab(88.00, -13.89, 48.65) |
| CIE-LCH | lch(88.00, 50.59, 105.93°) |
| OKLab | oklab(89.17% -0.0394 0.1166) |
| OKLCH | oklch(89.17% 0.123 108.7) |
| XYZ | xyz(62.3275, 72.0692, 30.3621) |
| Luminance | 0.7207 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 3.25
Greenish Beige
#C9D179
ΔE00 5.11
Buff
#FEF69E
ΔE00 5.47
Dark Cream
#FFF39A
ΔE00 5.51
Straw
#FCF679
ΔE00 5.67
Manilla
#FFFA86
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E27E #7E7EE2
analogous
#E2B07E #E2E27E #B0E27E
triadic
#E2E27E #7EE2E2 #E27EE2
tetradic
#E2E27E #7EE2B0 #7E7EE2 #E27EB0
square
#E2E27E #7EE2B0 #7E7EE2 #E27EB0
split-complementary
#E2E27E #7EB0E2 #B07EE2
monochromatic
#BBBB2A #D7D74C #E2E27E #EDEDB0 #F8F8E2
Accessibility & contrast
On white
1.36
#E2E27E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.41
#E2E27E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E27E
15.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E27E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E27E | 1.00 | 1.36 | 15.41 | 15.41 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F0DB76
Deuteranopia (green-blind)
#F2DF83
Tritanopia (blue-blind)
#EFD7CA
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #e2e27e; /* rgb */ color: rgb(226, 226, 126); /* oklch */ color: oklch(89.2% 0.123 108.7);
Tailwind
colors: {
custom: {
50: '#edeba5',
500: '#e2e27e',
950: '#000000',
},
}SCSS
$custom: #e2e27e; $custom-light: #edeba5; $custom-dark: #000000;
JSON
{
"hex": "#e2e27e",
"rgb": {
"r": 226,
"g": 226,
"b": 126
},
"hsl": {
"h": 60,
"s": 63.291,
"l": 69.02
},
"oklch": {
"l": 0.89172,
"c": 0.12311,
"h": 108.7
},
"luminance": 0.72068
}Semantic roles & 50–950 ramp
primary
#E2E27E
secondary
#4B4BB9
accent
#1ACB1A
background
#FFFEFC
surface
#FEFDF6
border
#D6D5D0
text
#16160F
muted
#858480