#E2D431#E2D431
#E2D431 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.5% C 0.169 H 104.2°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D431 |
|---|---|
| RGB | rgb(226, 212, 49) |
| HSL | hsl(55, 75%, 54%) |
| HSV | hsv(55, 78%, 89%) |
| CMYK | cmyk(0%, 6.2%, 78.3%, 11.4%) |
| CIE-LAB | lab(83.69, -11.89, 75.37) |
| CIE-LCH | lch(83.69, 76.30, 98.97°) |
| OKLab | oklab(85.54% -0.0414 0.1635) |
| OKLCH | oklch(85.54% 0.169 104.2) |
| XYZ | xyz(55.4644, 63.4798, 12.2364) |
| Luminance | 0.6348 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Piss Yellow
#DDD618
ΔE00 1.98
Dull Yellow
#EEDC5B
ΔE00 3.69
Dirty Yellow
#CDC50A
ΔE00 4.19
Ugly Yellow
#D0C101
ΔE00 4.69
Banana
#FFE135
ΔE00 5.28
Vomit Yellow
#C7C10C
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D431 #313FE2
analogous
#E27C31 #E2D431 #98E231
triadic
#E2D431 #31E2D4 #D431E2
tetradic
#E2D431 #31E27C #313FE2 #E23198
square
#E2D431 #31E27C #313FE2 #E23198
split-complementary
#E2D431 #3198E2 #7C31E2
monochromatic
#867D13 #BBAF1A #E2D431 #EADF67 #F1EA9C
Accessibility & contrast
On white
1.53
#E2D431 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.70
#E2D431 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D431
13.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D431 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D431 | 1.00 | 1.53 | 13.70 | 13.70 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CD00
Deuteranopia (green-blind)
#ECD43F
Tritanopia (blue-blind)
#F3C5B6
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e2d431; /* rgb */ color: rgb(226, 212, 49); /* oklch */ color: oklch(85.5% 0.169 104.2);
Tailwind
colors: {
custom: {
50: '#efe077',
500: '#e2d431',
950: '#000000',
},
}SCSS
$custom: #e2d431; $custom-light: #efe077; $custom-dark: #000000;
JSON
{
"hex": "#e2d431",
"rgb": {
"r": 226,
"g": 212,
"b": 49
},
"hsl": {
"h": 55.254,
"s": 75.319,
"l": 53.922
},
"oklch": {
"l": 0.85537,
"c": 0.16867,
"h": 104.2
},
"luminance": 0.63477
}Semantic roles & 50–950 ramp
primary
#E2D431
secondary
#2B338C
accent
#45F236
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150A
muted
#85847D