#E2D54E#E2D54E
#E2D54E is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.9% C 0.152 H 103.8°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D54E |
|---|---|
| RGB | rgb(226, 213, 78) |
| HSL | hsl(55, 72%, 60%) |
| HSV | hsv(55, 65%, 89%) |
| CMYK | cmyk(0%, 5.8%, 65.5%, 11.4%) |
| CIE-LAB | lab(84.13, -11.08, 65.70) |
| CIE-LCH | lch(84.13, 66.63, 99.57°) |
| OKLab | oklab(85.94% -0.0364 0.1481) |
| OKLCH | oklch(85.94% 0.152 103.8) |
| XYZ | xyz(56.5356, 64.3095, 16.6412) |
| Luminance | 0.6431 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.30
Piss Yellow
#DDD618
ΔE00 3.75
Sand Yellow
#FCE166
ΔE00 5.06
Dirty Yellow
#CDC50A
ΔE00 5.21
Yellowish
#FAEE66
ΔE00 5.53
Light Gold
#FDDC5C
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D54E #4E5BE2
analogous
#E28B4E #E2D54E #A5E24E
triadic
#E2D54E #4EE2D5 #D54EE2
tetradic
#E2D54E #4EE28B #4E5BE2 #E24EA5
square
#E2D54E #4EE28B #4E5BE2 #E24EA5
split-complementary
#E2D54E #4EA5E2 #8B4EE2
monochromatic
#9C911A #D1C122 #E2D54E #EBE183 #F3EEB7
Accessibility & contrast
On white
1.51
#E2D54E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.86
#E2D54E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D54E
13.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D54E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D54E | 1.00 | 1.51 | 13.86 | 13.86 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CE3C
Deuteranopia (green-blind)
#EBD556
Tritanopia (blue-blind)
#F2C7B9
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #e2d54e; /* rgb */ color: rgb(226, 213, 78); /* oklch */ color: oklch(85.9% 0.152 103.8);
Tailwind
colors: {
custom: {
50: '#eee186',
500: '#e2d54e',
950: '#000000',
},
}SCSS
$custom: #e2d54e; $custom-light: #eee186; $custom-dark: #000000;
JSON
{
"hex": "#e2d54e",
"rgb": {
"r": 226,
"g": 213,
"b": 78
},
"hsl": {
"h": 54.73,
"s": 71.845,
"l": 59.608
},
"oklch": {
"l": 0.85936,
"c": 0.15248,
"h": 103.8
},
"luminance": 0.64307
}Semantic roles & 50–950 ramp
primary
#E2D54E
secondary
#353E9F
accent
#49EF39
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F