#E2D151#E2D151
#E2D151 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.1% C 0.147 H 101.7°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D151 |
|---|---|
| RGB | rgb(226, 209, 81) |
| HSL | hsl(53, 71%, 60%) |
| HSV | hsv(53, 64%, 89%) |
| CMYK | cmyk(0%, 7.5%, 64.2%, 11.4%) |
| CIE-LAB | lab(83.11, -8.89, 63.42) |
| CIE-LCH | lch(83.11, 64.04, 97.98°) |
| OKLab | oklab(85.13% -0.0298 0.1437) |
| OKLCH | oklch(85.13% 0.147 101.7) |
| XYZ | xyz(55.6519, 62.3661, 16.8894) |
| Luminance | 0.6236 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.60
Piss Yellow
#DDD618
ΔE00 4.78
Sand Yellow
#FCE166
ΔE00 4.85
Light Mustard
#F7D560
ΔE00 5.05
Sandy
#F1DA7A
ΔE00 5.12
Maize
#F4D054
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D151 #5162E2
analogous
#E28951 #E2D151 #AAE251
triadic
#E2D151 #51E2D1 #D151E2
tetradic
#E2D151 #51E289 #5162E2 #E251AA
square
#E2D151 #51E289 #5162E2 #E251AA
split-complementary
#E2D151 #51AAE2 #8951E2
monochromatic
#9E8F1A #D3BE23 #E2D151 #EBDF85 #F3EDBA
Accessibility & contrast
On white
1.56
#E2D151 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.47
#E2D151 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D151
13.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D151 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D151 | 1.00 | 1.56 | 13.47 | 13.47 |
| #FFFFFF | 1.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CB41
Deuteranopia (green-blind)
#E8D258
Tritanopia (blue-blind)
#F2C3B6
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #e2d151; /* rgb */ color: rgb(226, 209, 81); /* oklch */ color: oklch(85.1% 0.147 101.7);
Tailwind
colors: {
custom: {
50: '#eede88',
500: '#e2d151',
950: '#000000',
},
}SCSS
$custom: #e2d151; $custom-light: #eede88; $custom-dark: #000000;
JSON
{
"hex": "#e2d151",
"rgb": {
"r": 226,
"g": 209,
"b": 81
},
"hsl": {
"h": 52.966,
"s": 71.429,
"l": 60.196
},
"oklch": {
"l": 0.85133,
"c": 0.14677,
"h": 101.7
},
"luminance": 0.62364
}Semantic roles & 50–950 ramp
primary
#E2D151
secondary
#3642A1
accent
#29D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F