#E4E972#E4E972
#E4E972 is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 90.6% C 0.142 H 111.1°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).
Color values
| HEX | #E4E972 |
|---|---|
| RGB | rgb(228, 233, 114) |
| HSL | hsl(63, 73%, 68%) |
| HSV | hsv(63, 51%, 91%) |
| CMYK | cmyk(2.1%, 0%, 51.1%, 8.6%) |
| CIE-LAB | lab(89.85, -17.63, 56.54) |
| CIE-LCH | lch(89.85, 59.23, 107.32°) |
| OKLab | oklab(90.64% -0.0513 0.133) |
| OKLCH | oklch(90.64% 0.143 111.1) |
| XYZ | xyz(64.1725, 75.9881, 27.2030) |
| Luminance | 0.7599 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 4.21
Yellowish Tan
#FCFC81
ΔE00 4.36
Manilla
#FFFA86
ΔE00 4.64
Faded Yellow
#FEFF7F
ΔE00 4.92
Pale Yellow
#FFFF84
ΔE00 4.94
Butter
#FFFF81
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4E972 #7772E9
analogous
#E9B272 #E4E972 #A8E972
triadic
#E4E972 #72E4E9 #E972E4
tetradic
#E4E972 #72E9B2 #7772E9 #E972A8
square
#E4E972 #72E9B2 #7772E9 #E972A8
split-complementary
#E4E972 #72A8E9 #B272E9
monochromatic
#BBC21E #DAE13D #E4E972 #EEF1A7 #F8FADC
Accessibility & contrast
On white
1.30
#E4E972 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.20
#E4E972 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4E972
16.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4E972 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4E972 | 1.00 | 1.30 | 16.20 | 16.20 |
| #FFFFFF | 1.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F8E067
Deuteranopia (green-blind)
#F9E478
Tritanopia (blue-blind)
#F1DDCE
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #e4e972; /* rgb */ color: rgb(228, 233, 114); /* oklch */ color: oklch(90.6% 0.142 111.1);
Tailwind
colors: {
custom: {
50: '#efef9e',
500: '#e4e972',
950: '#000000',
},
}SCSS
$custom: #e4e972; $custom-light: #efef9e; $custom-dark: #000000;
JSON
{
"hex": "#e4e972",
"rgb": {
"r": 228,
"g": 233,
"b": 114
},
"hsl": {
"h": 62.521,
"s": 73.006,
"l": 68.039
},
"oklch": {
"l": 0.90641,
"c": 0.1425,
"h": 111.1
},
"luminance": 0.75987
}Semantic roles & 50–950 ramp
primary
#E4E972
secondary
#443EC1
accent
#10D519
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580