#E2E873#E2E873
#E2E873 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.3% C 0.141 H 111.5°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E873 |
|---|---|
| RGB | rgb(226, 232, 115) |
| HSL | hsl(63, 72%, 68%) |
| HSV | hsv(63, 50%, 91%) |
| CMYK | cmyk(2.6%, 0%, 50.4%, 9%) |
| CIE-LAB | lab(89.45, -17.84, 55.57) |
| CIE-LCH | lch(89.45, 58.37, 107.80°) |
| OKLab | oklab(90.29% -0.0517 0.131) |
| OKLCH | oklch(90.29% 0.141 111.5) |
| XYZ | xyz(63.3164, 75.1210, 27.3807) |
| Luminance | 0.7512 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 4.62
Yellowish Tan
#FCFC81
ΔE00 4.70
Manilla
#FFFA86
ΔE00 4.97
Khaki (CSS)
#F0E68C
ΔE00 5.23
Faded Yellow
#FEFF7F
ΔE00 5.27
Pale Yellow
#FFFF84
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E873 #7973E8
analogous
#E8B373 #E2E873 #A7E873
triadic
#E2E873 #73E2E8 #E873E2
tetradic
#E2E873 #73E8B3 #7973E8 #E873A7
square
#E2E873 #73E8B3 #7973E8 #E873A7
split-complementary
#E2E873 #73A7E8 #B373E8
monochromatic
#B9C120 #D7DF3E #E2E873 #EDF1A8 #F8F9DC
Accessibility & contrast
On white
1.31
#E2E873 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.02
#E2E873 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E873
16.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E873 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E873 | 1.00 | 1.31 | 16.02 | 16.02 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7DF68
Deuteranopia (green-blind)
#F8E279
Tritanopia (blue-blind)
#EFDCCD
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #e2e873; /* rgb */ color: rgb(226, 232, 115); /* oklch */ color: oklch(90.3% 0.141 111.5);
Tailwind
colors: {
custom: {
50: '#edef9e',
500: '#e2e873',
950: '#000000',
},
}SCSS
$custom: #e2e873; $custom-light: #edef9e; $custom-dark: #000000;
JSON
{
"hex": "#e2e873",
"rgb": {
"r": 226,
"g": 232,
"b": 115
},
"hsl": {
"h": 63.077,
"s": 71.779,
"l": 68.039
},
"oklch": {
"l": 0.90285,
"c": 0.1408,
"h": 111.5
},
"luminance": 0.7512
}Semantic roles & 50–950 ramp
primary
#E2E873
secondary
#4640C0
accent
#12D41C
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580