#E2E77F#E2E77F
#E2E77F is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.2% C 0.128 H 111.1°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E77F |
|---|---|
| RGB | rgb(226, 231, 127) |
| HSL | hsl(63, 68%, 70%) |
| HSV | hsv(63, 45%, 91%) |
| CMYK | cmyk(2.2%, 0%, 45%, 9.4%) |
| CIE-LAB | lab(89.32, -16.26, 49.79) |
| CIE-LCH | lch(89.32, 52.38, 108.09°) |
| OKLab | oklab(90.23% -0.0461 0.1192) |
| OKLCH | oklch(90.23% 0.128 111.1) |
| XYZ | xyz(63.7718, 74.8541, 31.1634) |
| Luminance | 0.7485 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 4.23
Light Khaki
#E6F2A2
ΔE00 5.16
Manilla
#FFFA86
ΔE00 5.28
Yellowish Tan
#FCFC81
ΔE00 5.30
Straw
#FCF679
ΔE00 5.31
Buff
#FEF69E
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E77F #847FE7
analogous
#E7B87F #E2E77F #AEE77F
triadic
#E2E77F #7FE2E7 #E77FE2
tetradic
#E2E77F #7FE7B8 #847FE7 #E77FAE
square
#E2E77F #7FE7B8 #847FE7 #E77FAE
split-complementary
#E2E77F #7FAEE7 #B87FE7
monochromatic
#BFC625 #D6DD4B #E2E77F #EEF1B3 #F9FAE5
Accessibility & contrast
On white
1.31
#E2E77F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.97
#E2E77F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E77F
15.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E77F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E77F | 1.00 | 1.31 | 15.97 | 15.97 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F5DF76
Deuteranopia (green-blind)
#F6E284
Tritanopia (blue-blind)
#EEDCCE
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #e2e77f; /* rgb */ color: rgb(226, 231, 127); /* oklch */ color: oklch(90.2% 0.128 111.1);
Tailwind
colors: {
custom: {
50: '#edeea6',
500: '#e2e77f',
950: '#000000',
},
}SCSS
$custom: #e2e77f; $custom-light: #edeea6; $custom-dark: #000000;
JSON
{
"hex": "#e2e77f",
"rgb": {
"r": 226,
"g": 231,
"b": 127
},
"hsl": {
"h": 62.885,
"s": 68.421,
"l": 70.196
},
"oklch": {
"l": 0.9023,
"c": 0.12783,
"h": 111.1
},
"luminance": 0.74853
}Semantic roles & 50–950 ramp
primary
#E2E77F
secondary
#504BBF
accent
#15D01E
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16160F
muted
#858580