#E2D645#E2D645
#E2D645 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.1% C 0.159 H 104.6°. Best body text is #000000 at 13.94:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D645 |
|---|---|
| RGB | rgb(226, 214, 69) |
| HSL | hsl(55, 73%, 58%) |
| HSV | hsv(55, 69%, 89%) |
| CMYK | cmyk(0%, 5.3%, 69.5%, 11.4%) |
| CIE-LAB | lab(84.33, -12.06, 69.36) |
| CIE-LCH | lch(84.33, 70.40, 99.86°) |
| OKLab | oklab(86.07% -0.0401 0.1543) |
| OKLCH | oklch(86.07% 0.159 104.6) |
| XYZ | xyz(56.4871, 64.6937, 15.1408) |
| Luminance | 0.6469 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.69
Piss Yellow
#DDD618
ΔE00 2.84
Dirty Yellow
#CDC50A
ΔE00 4.86
Sand Yellow
#FCE166
ΔE00 5.41
Yellowish
#FAEE66
ΔE00 5.45
Ugly Yellow
#D0C101
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D645 #4551E2
analogous
#E28745 #E2D645 #9FE245
triadic
#E2D645 #45E2D6 #D645E2
tetradic
#E2D645 #45E287 #4551E2 #E2459F
square
#E2D645 #45E287 #4551E2 #E2459F
split-complementary
#E2D645 #459FE2 #8745E2
monochromatic
#958C17 #CABD20 #E2D645 #EAE27A #F3EDAF
Accessibility & contrast
On white
1.51
#E2D645 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.94
#E2D645 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D645
13.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D645 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D645 | 1.00 | 1.51 | 13.94 | 13.94 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9CF2E
Deuteranopia (green-blind)
#EDD54F
Tritanopia (blue-blind)
#F3C8B9
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #e2d645; /* rgb */ color: rgb(226, 214, 69); /* oklch */ color: oklch(86.1% 0.159 104.6);
Tailwind
colors: {
custom: {
50: '#efe281',
500: '#e2d645',
950: '#000000',
},
}SCSS
$custom: #e2d645; $custom-light: #efe281; $custom-dark: #000000;
JSON
{
"hex": "#e2d645",
"rgb": {
"r": 226,
"g": 214,
"b": 69
},
"hsl": {
"h": 55.414,
"s": 73.023,
"l": 57.843
},
"oklch": {
"l": 0.86074,
"c": 0.15945,
"h": 104.6
},
"luminance": 0.64692
}Semantic roles & 50–950 ramp
primary
#E2D645
secondary
#323A9A
accent
#46F038
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E