#E4E273#E4E273
#E4E273 is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 89.2% C 0.134 H 107.9°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).
Color values
| HEX | #E4E273 |
|---|---|
| RGB | rgb(228, 226, 115) |
| HSL | hsl(59, 68%, 67%) |
| HSV | hsv(59, 50%, 89%) |
| CMYK | cmyk(0%, 0.9%, 49.6%, 10.6%) |
| CIE-LAB | lab(88.03, -14.10, 53.93) |
| CIE-LCH | lch(88.03, 55.75, 104.65°) |
| OKLab | oklab(89.19% -0.0411 0.1274) |
| OKLCH | oklch(89.19% 0.134 107.9) |
| XYZ | xyz(62.2873, 72.1261, 26.8569) |
| Luminance | 0.7212 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 3.82
Sandy Yellow
#FDEE73
ΔE00 4.76
Straw
#FCF679
ΔE00 4.78
Dull Yellow
#EEDC5B
ΔE00 4.88
Yellowish
#FAEE66
ΔE00 4.90
Manilla
#FFFA86
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4E273 #7375E4
analogous
#E4AA73 #E4E273 #AEE473
triadic
#E4E273 #73E4E2 #E273E4
tetradic
#E4E273 #73E4AA #7375E4 #E473AE
square
#E4E273 #73E4AA #7375E4 #E473AE
split-complementary
#E4E273 #73AEE4 #AA73E4
monochromatic
#B9B624 #DAD740 #E4E273 #EEEDA6 #F8F7DA
Accessibility & contrast
On white
1.36
#E4E273 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.42
#E4E273 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4E273
15.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4E273 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4E273 | 1.00 | 1.36 | 15.42 | 15.42 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1DA69
Deuteranopia (green-blind)
#F3DF79
Tritanopia (blue-blind)
#F2D6C9
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #e4e273; /* rgb */ color: rgb(228, 226, 115); /* oklch */ color: oklch(89.2% 0.134 107.9);
Tailwind
colors: {
custom: {
50: '#efea9e',
500: '#e4e273',
950: '#000000',
},
}SCSS
$custom: #e4e273; $custom-light: #efea9e; $custom-dark: #000000;
JSON
{
"hex": "#e4e273",
"rgb": {
"r": 228,
"g": 226,
"b": 115
},
"hsl": {
"h": 58.938,
"s": 67.665,
"l": 67.255
},
"oklch": {
"l": 0.89191,
"c": 0.13385,
"h": 107.9
},
"luminance": 0.72124
}Semantic roles & 50–950 ramp
primary
#E4E273
secondary
#4244B9
accent
#19D016
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160F
muted
#858480