#E2D948#E2D948
#E2D948 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.7% C 0.160 H 105.8°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D948 |
|---|---|
| RGB | rgb(226, 217, 72) |
| HSL | hsl(56, 73%, 58%) |
| HSV | hsv(56, 68%, 89%) |
| CMYK | cmyk(0%, 4%, 68.1%, 11.4%) |
| CIE-LAB | lab(85.13, -13.40, 69.05) |
| CIE-LCH | lch(85.13, 70.34, 100.99°) |
| OKLab | oklab(86.72% -0.0436 0.1542) |
| OKLCH | oklch(86.72% 0.16 105.8) |
| XYZ | xyz(57.3488, 66.2644, 15.8991) |
| Luminance | 0.6626 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.86
Piss Yellow
#DDD618
ΔE00 2.87
Yellowish
#FAEE66
ΔE00 4.92
Dirty Yellow
#CDC50A
ΔE00 5.36
Sandy Yellow
#FDEE73
ΔE00 5.65
Sand Yellow
#FCE166
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D948 #4851E2
analogous
#E28C48 #E2D948 #9EE248
triadic
#E2D948 #48E2D9 #D948E2
tetradic
#E2D948 #48E28C #4851E2 #E2489E
square
#E2D948 #48E28C #4851E2 #E2489E
split-complementary
#E2D948 #489EE2 #8C48E2
monochromatic
#989018 #CCC220 #E2D948 #EAE47D #F3EFB2
Accessibility & contrast
On white
1.47
#E2D948 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.25
#E2D948 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D948
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D948 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D948 | 1.00 | 1.47 | 14.25 | 14.25 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD132
Deuteranopia (green-blind)
#EFD752
Tritanopia (blue-blind)
#F2CBBC
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e2d948; /* rgb */ color: rgb(226, 217, 72); /* oklch */ color: oklch(86.7% 0.160 105.8);
Tailwind
colors: {
custom: {
50: '#efe483',
500: '#e2d948',
950: '#000000',
},
}SCSS
$custom: #e2d948; $custom-light: #efe483; $custom-dark: #000000;
JSON
{
"hex": "#e2d948",
"rgb": {
"r": 226,
"g": 217,
"b": 72
},
"hsl": {
"h": 56.494,
"s": 72.642,
"l": 58.431
},
"oklch": {
"l": 0.86722,
"c": 0.16022,
"h": 105.8
},
"luminance": 0.66262
}Semantic roles & 50–950 ramp
primary
#E2D948
secondary
#33399C
accent
#43EF38
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E