#E2D747#E2D747
#E2D747 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.3% C 0.159 H 104.9°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D747 |
|---|---|
| RGB | rgb(226, 215, 71) |
| HSL | hsl(56, 73%, 58%) |
| HSV | hsv(56, 69%, 89%) |
| CMYK | cmyk(0%, 4.9%, 68.6%, 11.4%) |
| CIE-LAB | lab(84.60, -12.46, 68.89) |
| CIE-LCH | lch(84.60, 70.01, 100.25°) |
| OKLab | oklab(86.3% -0.041 0.1537) |
| OKLCH | oklch(86.3% 0.159 104.9) |
| XYZ | xyz(56.8041, 65.2267, 15.5579) |
| Luminance | 0.6522 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.67
Piss Yellow
#DDD618
ΔE00 2.89
Dirty Yellow
#CDC50A
ΔE00 5.05
Yellowish
#FAEE66
ΔE00 5.25
Sand Yellow
#FCE166
ΔE00 5.44
Ugly Yellow
#D0C101
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D747 #4752E2
analogous
#E28947 #E2D747 #9FE247
triadic
#E2D747 #47E2D7 #D747E2
tetradic
#E2D747 #47E289 #4752E2 #E2479F
square
#E2D747 #47E289 #4752E2 #E2479F
split-complementary
#E2D747 #479FE2 #8947E2
monochromatic
#978E18 #CCC020 #E2D747 #EAE27C #F3EEB1
Accessibility & contrast
On white
1.50
#E2D747 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.05
#E2D747 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D747
14.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D747 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D747 | 1.00 | 1.50 | 14.05 | 14.05 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D031
Deuteranopia (green-blind)
#EDD650
Tritanopia (blue-blind)
#F2C9BA
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e2d747; /* rgb */ color: rgb(226, 215, 71); /* oklch */ color: oklch(86.3% 0.159 104.9);
Tailwind
colors: {
custom: {
50: '#efe382',
500: '#e2d747',
950: '#000000',
},
}SCSS
$custom: #e2d747; $custom-light: #efe382; $custom-dark: #000000;
JSON
{
"hex": "#e2d747",
"rgb": {
"r": 226,
"g": 215,
"b": 71
},
"hsl": {
"h": 55.742,
"s": 72.77,
"l": 58.235
},
"oklch": {
"l": 0.86297,
"c": 0.15906,
"h": 104.9
},
"luminance": 0.65225
}Semantic roles & 50–950 ramp
primary
#E2D747
secondary
#323A9B
accent
#45EF38
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E