#E3D451#E3D451
#E3D451 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.8% C 0.149 H 102.8°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).
Color values
| HEX | #E3D451 |
|---|---|
| RGB | rgb(227, 212, 81) |
| HSL | hsl(54, 72%, 60%) |
| HSV | hsv(54, 64%, 89%) |
| CMYK | cmyk(0%, 6.6%, 64.3%, 11%) |
| CIE-LAB | lab(83.97, -9.99, 64.35) |
| CIE-LCH | lch(83.97, 65.12, 98.82°) |
| OKLab | oklab(85.84% -0.033 0.1457) |
| OKLCH | oklch(85.84% 0.149 102.8) |
| XYZ | xyz(56.7095, 64.0142, 17.1518) |
| Luminance | 0.6401 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.12
Piss Yellow
#DDD618
ΔE00 4.27
Sand Yellow
#FCE166
ΔE00 4.72
Sandy
#F1DA7A
ΔE00 5.30
Light Gold
#FDDC5C
ΔE00 5.33
Dirty Yellow
#CDC50A
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E3D451 #5160E3
analogous
#E38B51 #E3D451 #A9E351
triadic
#E3D451 #51E3D4 #D451E3
tetradic
#E3D451 #51E38B #5160E3 #E351A9
square
#E3D451 #51E38B #5160E3 #E351A9
split-complementary
#E3D451 #51A9E3 #8B51E3
monochromatic
#A0921A #D5C222 #E3D451 #EBE186 #F4EEBA
Accessibility & contrast
On white
1.52
#E3D451 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.80
#E3D451 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E3D451
13.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E3D451 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E3D451 | 1.00 | 1.52 | 13.80 | 13.80 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CD40
Deuteranopia (green-blind)
#EBD459
Tritanopia (blue-blind)
#F3C6B9
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e3d451; /* rgb */ color: rgb(227, 212, 81); /* oklch */ color: oklch(85.8% 0.149 102.8);
Tailwind
colors: {
custom: {
50: '#efe088',
500: '#e3d451',
950: '#000000',
},
}SCSS
$custom: #e3d451; $custom-light: #efe088; $custom-dark: #000000;
JSON
{
"hex": "#e3d451",
"rgb": {
"r": 227,
"g": 212,
"b": 81
},
"hsl": {
"h": 53.836,
"s": 72.277,
"l": 60.392
},
"oklch": {
"l": 0.85841,
"c": 0.14936,
"h": 102.8
},
"luminance": 0.64012
}Semantic roles & 50–950 ramp
primary
#E3D451
secondary
#3541A3
accent
#25D411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F