#E2D548#E2D548
#E2D548 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.9% C 0.157 H 104.0°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D548 |
|---|---|
| RGB | rgb(226, 213, 72) |
| HSL | hsl(55, 73%, 58%) |
| HSV | hsv(55, 68%, 89%) |
| CMYK | cmyk(0%, 5.8%, 68.1%, 11.4%) |
| CIE-LAB | lab(84.08, -11.41, 68.00) |
| CIE-LCH | lch(84.08, 68.95, 99.52°) |
| OKLab | oklab(85.89% -0.0379 0.152) |
| OKLCH | oklch(85.89% 0.157 104) |
| XYZ | xyz(56.3303, 64.2273, 15.5596) |
| Luminance | 0.6422 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.51
Piss Yellow
#DDD618
ΔE00 3.22
Dirty Yellow
#CDC50A
ΔE00 4.89
Sand Yellow
#FCE166
ΔE00 5.23
Ugly Yellow
#D0C101
ΔE00 5.48
Yellowish
#FAEE66
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D548 #4855E2
analogous
#E28848 #E2D548 #A2E248
triadic
#E2D548 #48E2D5 #D548E2
tetradic
#E2D548 #48E288 #4855E2 #E248A2
square
#E2D548 #48E288 #4855E2 #E248A2
split-complementary
#E2D548 #48A2E2 #8848E2
monochromatic
#988D18 #CCBE20 #E2D548 #EAE17D #F3EDB2
Accessibility & contrast
On white
1.52
#E2D548 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.85
#E2D548 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D548
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D548 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D548 | 1.00 | 1.52 | 13.85 | 13.85 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CE33
Deuteranopia (green-blind)
#ECD551
Tritanopia (blue-blind)
#F3C7B9
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #e2d548; /* rgb */ color: rgb(226, 213, 72); /* oklch */ color: oklch(85.9% 0.157 104.0);
Tailwind
colors: {
custom: {
50: '#efe183',
500: '#e2d548',
950: '#000000',
},
}SCSS
$custom: #e2d548; $custom-light: #efe183; $custom-dark: #000000;
JSON
{
"hex": "#e2d548",
"rgb": {
"r": 226,
"g": 213,
"b": 72
},
"hsl": {
"h": 54.935,
"s": 72.642,
"l": 58.431
},
"oklch": {
"l": 0.85888,
"c": 0.15662,
"h": 104
},
"luminance": 0.64225
}Semantic roles & 50–950 ramp
primary
#E2D548
secondary
#333C9C
accent
#48EF38
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E