#E2D950#E2D950
#E2D950 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 86.8% C 0.155 H 105.6°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D950 |
|---|---|
| RGB | rgb(226, 217, 80) |
| HSL | hsl(56, 72%, 60%) |
| HSV | hsv(56, 65%, 89%) |
| CMYK | cmyk(0%, 4%, 64.6%, 11.4%) |
| CIE-LAB | lab(85.19, -12.97, 66.00) |
| CIE-LCH | lch(85.19, 67.27, 101.11°) |
| OKLab | oklab(86.79% -0.0415 0.149) |
| OKLCH | oklch(86.79% 0.155 105.6) |
| XYZ | xyz(57.6270, 66.3757, 17.3641) |
| Luminance | 0.6637 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.59
Piss Yellow
#DDD618
ΔE00 3.59
Yellowish
#FAEE66
ΔE00 4.81
Sandy Yellow
#FDEE73
ΔE00 5.36
Sand Yellow
#FCE166
ΔE00 5.44
Dirty Yellow
#CDC50A
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D950 #5059E2
analogous
#E29050 #E2D950 #A2E250
triadic
#E2D950 #50E2D9 #D950E2
tetradic
#E2D950 #50E290 #5059E2 #E250A2
square
#E2D950 #50E290 #5059E2 #E250A2
split-complementary
#E2D950 #50A2E2 #9050E2
monochromatic
#9E951A #D2C723 #E2D950 #EBE484 #F3F0B9
Accessibility & contrast
On white
1.47
#E2D950 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.27
#E2D950 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D950
14.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D950 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D950 | 1.00 | 1.47 | 14.27 | 14.27 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD13E
Deuteranopia (green-blind)
#EED858
Tritanopia (blue-blind)
#F2CBBD
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e2d950; /* rgb */ color: rgb(226, 217, 80); /* oklch */ color: oklch(86.8% 0.155 105.6);
Tailwind
colors: {
custom: {
50: '#eee488',
500: '#e2d950',
950: '#000000',
},
}SCSS
$custom: #e2d950; $custom-light: #eee488; $custom-dark: #000000;
JSON
{
"hex": "#e2d950",
"rgb": {
"r": 226,
"g": 217,
"b": 80
},
"hsl": {
"h": 56.301,
"s": 71.569,
"l": 60
},
"oklch": {
"l": 0.86785,
"c": 0.1547,
"h": 105.6
},
"luminance": 0.66374
}Semantic roles & 50–950 ramp
primary
#E2D950
secondary
#353CA1
accent
#45EE39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F