#E2D147#E2D147
#E2D147 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.1% C 0.154 H 102.2°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D147 |
|---|---|
| RGB | rgb(226, 209, 71) |
| HSL | hsl(53, 73%, 58%) |
| HSV | hsv(53, 69%, 89%) |
| CMYK | cmyk(0%, 7.5%, 68.6%, 11.4%) |
| CIE-LAB | lab(83.03, -9.45, 67.32) |
| CIE-LCH | lch(83.03, 67.98, 97.99°) |
| OKLab | oklab(85.05% -0.0325 0.1504) |
| OKLCH | oklch(85.05% 0.154 102.2) |
| XYZ | xyz(55.3042, 62.2270, 15.0579) |
| Luminance | 0.6222 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.80
Piss Yellow
#DDD618
ΔE00 3.94
Dirty Yellow
#CDC50A
ΔE00 4.71
Ugly Yellow
#D0C101
ΔE00 4.86
Sand Yellow
#FCE166
ΔE00 5.10
Maize
#F4D054
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D147 #4758E2
analogous
#E28347 #E2D147 #A6E247
triadic
#E2D147 #47E2D1 #D147E2
tetradic
#E2D147 #47E283 #4758E2 #E247A6
square
#E2D147 #47E283 #4758E2 #E247A6
split-complementary
#E2D147 #47A6E2 #8347E2
monochromatic
#978918 #CCB920 #E2D147 #EADE7C #F3EBB1
Accessibility & contrast
On white
1.56
#E2D147 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.45
#E2D147 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D147
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D147 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D147 | 1.00 | 1.56 | 13.45 | 13.45 |
| #FFFFFF | 1.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CB33
Deuteranopia (green-blind)
#E9D250
Tritanopia (blue-blind)
#F3C3B5
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #e2d147; /* rgb */ color: rgb(226, 209, 71); /* oklch */ color: oklch(85.1% 0.154 102.2);
Tailwind
colors: {
custom: {
50: '#efde82',
500: '#e2d147',
950: '#000000',
},
}SCSS
$custom: #e2d147; $custom-light: #efde82; $custom-dark: #000000;
JSON
{
"hex": "#e2d147",
"rgb": {
"r": 226,
"g": 209,
"b": 71
},
"hsl": {
"h": 53.419,
"s": 72.77,
"l": 58.235
},
"oklch": {
"l": 0.85051,
"c": 0.15384,
"h": 102.2
},
"luminance": 0.62225
}Semantic roles & 50–950 ramp
primary
#E2D147
secondary
#323E9B
accent
#4CEF38
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E