#E2D451#E2D451
#E2D451 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.8% C 0.149 H 103.2°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D451 |
|---|---|
| RGB | rgb(226, 212, 81) |
| HSL | hsl(54, 71%, 60%) |
| HSV | hsv(54, 64%, 89%) |
| CMYK | cmyk(0%, 6.2%, 64.2%, 11.4%) |
| CIE-LAB | lab(83.89, -10.41, 64.24) |
| CIE-LCH | lch(83.89, 65.08, 99.20°) |
| OKLab | oklab(85.75% -0.0341 0.1455) |
| OKLCH | oklch(85.75% 0.149 103.2) |
| XYZ | xyz(56.3949, 63.8520, 17.1371) |
| Luminance | 0.6385 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.26
Piss Yellow
#DDD618
ΔE00 4.19
Sand Yellow
#FCE166
ΔE00 4.92
Dirty Yellow
#CDC50A
ΔE00 5.34
Sandy
#F1DA7A
ΔE00 5.42
Light Gold
#FDDC5C
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D451 #515FE2
analogous
#E28B51 #E2D451 #A7E251
triadic
#E2D451 #51E2D4 #D451E2
tetradic
#E2D451 #51E28B #515FE2 #E251A7
square
#E2D451 #51E28B #515FE2 #E251A7
split-complementary
#E2D451 #51A7E2 #8B51E2
monochromatic
#9E911A #D3C223 #E2D451 #EBE185 #F3EEBA
Accessibility & contrast
On white
1.53
#E2D451 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.77
#E2D451 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D451
13.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D451 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D451 | 1.00 | 1.53 | 13.77 | 13.77 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CD40
Deuteranopia (green-blind)
#EBD459
Tritanopia (blue-blind)
#F2C6B9
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e2d451; /* rgb */ color: rgb(226, 212, 81); /* oklch */ color: oklch(85.8% 0.149 103.2);
Tailwind
colors: {
custom: {
50: '#eee088',
500: '#e2d451',
950: '#000000',
},
}SCSS
$custom: #e2d451; $custom-light: #eee088; $custom-dark: #000000;
JSON
{
"hex": "#e2d451",
"rgb": {
"r": 226,
"g": 212,
"b": 81
},
"hsl": {
"h": 54.207,
"s": 71.429,
"l": 60.196
},
"oklch": {
"l": 0.85754,
"c": 0.1494,
"h": 103.2
},
"luminance": 0.6385
}Semantic roles & 50–950 ramp
primary
#E2D451
secondary
#3640A1
accent
#25D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F