#E2D450#E2D450
#E2D450 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.7% C 0.150 H 103.2°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D450 |
|---|---|
| RGB | rgb(226, 212, 80) |
| HSL | hsl(54, 72%, 60%) |
| HSV | hsv(54, 65%, 89%) |
| CMYK | cmyk(0%, 6.2%, 64.6%, 11.4%) |
| CIE-LAB | lab(83.88, -10.46, 64.64) |
| CIE-LCH | lch(83.88, 65.48, 99.20°) |
| OKLab | oklab(85.75% -0.0344 0.1462) |
| OKLCH | oklch(85.75% 0.15 103.2) |
| XYZ | xyz(56.3577, 63.8371, 16.9410) |
| Luminance | 0.6383 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.27
Piss Yellow
#DDD618
ΔE00 4.10
Sand Yellow
#FCE166
ΔE00 4.94
Dirty Yellow
#CDC50A
ΔE00 5.27
Sandy
#F1DA7A
ΔE00 5.51
Light Gold
#FDDC5C
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D450 #505EE2
analogous
#E28B50 #E2D450 #A7E250
triadic
#E2D450 #50E2D4 #D450E2
tetradic
#E2D450 #50E28B #505EE2 #E250A7
square
#E2D450 #50E28B #505EE2 #E250A7
split-complementary
#E2D450 #50A7E2 #8B50E2
monochromatic
#9E911A #D2C123 #E2D450 #EBE184 #F3EEB9
Accessibility & contrast
On white
1.53
#E2D450 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.77
#E2D450 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D450
13.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D450 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D450 | 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)
#E6CD3F
Deuteranopia (green-blind)
#EBD458
Tritanopia (blue-blind)
#F2C6B9
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e2d450; /* rgb */ color: rgb(226, 212, 80); /* oklch */ color: oklch(85.7% 0.150 103.2);
Tailwind
colors: {
custom: {
50: '#eee087',
500: '#e2d450',
950: '#000000',
},
}SCSS
$custom: #e2d450; $custom-light: #eee087; $custom-dark: #000000;
JSON
{
"hex": "#e2d450",
"rgb": {
"r": 226,
"g": 212,
"b": 80
},
"hsl": {
"h": 54.247,
"s": 71.569,
"l": 60
},
"oklch": {
"l": 0.85745,
"c": 0.15014,
"h": 103.2
},
"luminance": 0.63835
}Semantic roles & 50–950 ramp
primary
#E2D450
secondary
#3540A1
accent
#4BEE39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F