#E2D348#E2D348
#E2D348 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.5% C 0.155 H 103.1°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D348 |
|---|---|
| RGB | rgb(226, 211, 72) |
| HSL | hsl(54, 73%, 58%) |
| HSV | hsv(54, 68%, 89%) |
| CMYK | cmyk(0%, 6.6%, 68.1%, 11.4%) |
| CIE-LAB | lab(83.56, -10.40, 67.47) |
| CIE-LCH | lch(83.56, 68.27, 98.77°) |
| OKLab | oklab(85.47% -0.0351 0.1509) |
| OKLCH | oklch(85.47% 0.155 103.1) |
| XYZ | xyz(55.8303, 63.2274, 15.3929) |
| Luminance | 0.6322 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.56
Piss Yellow
#DDD618
ΔE00 3.58
Dirty Yellow
#CDC50A
ΔE00 4.78
Sand Yellow
#FCE166
ΔE00 5.11
Ugly Yellow
#D0C101
ΔE00 5.16
Light Gold
#FDDC5C
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D348 #4857E2
analogous
#E28648 #E2D348 #A4E248
triadic
#E2D348 #48E2D3 #D348E2
tetradic
#E2D348 #48E286 #4857E2 #E248A4
square
#E2D348 #48E286 #4857E2 #E248A4
split-complementary
#E2D348 #48A4E2 #8648E2
monochromatic
#988B18 #CCBC20 #E2D348 #EAE07D #F3ECB2
Accessibility & contrast
On white
1.54
#E2D348 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.65
#E2D348 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D348
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D348 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D348 | 1.00 | 1.54 | 13.65 | 13.65 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CC34
Deuteranopia (green-blind)
#EAD351
Tritanopia (blue-blind)
#F3C5B7
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e2d348; /* rgb */ color: rgb(226, 211, 72); /* oklch */ color: oklch(85.5% 0.155 103.1);
Tailwind
colors: {
custom: {
50: '#efe083',
500: '#e2d348',
950: '#000000',
},
}SCSS
$custom: #e2d348; $custom-light: #efe083; $custom-dark: #000000;
JSON
{
"hex": "#e2d348",
"rgb": {
"r": 226,
"g": 211,
"b": 72
},
"hsl": {
"h": 54.156,
"s": 72.642,
"l": 58.431
},
"oklch": {
"l": 0.85473,
"c": 0.15488,
"h": 103.1
},
"luminance": 0.63225
}Semantic roles & 50–950 ramp
primary
#E2D348
secondary
#333D9C
accent
#4AEF38
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E