#E2D643#E2D643
#E2D643 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.1% C 0.161 H 104.6°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D643 |
|---|---|
| RGB | rgb(226, 214, 67) |
| HSL | hsl(55, 73%, 57%) |
| HSV | hsv(55, 70%, 89%) |
| CMYK | cmyk(0%, 5.3%, 70.4%, 11.4%) |
| CIE-LAB | lab(84.31, -12.16, 70.08) |
| CIE-LCH | lch(84.31, 71.12, 99.84°) |
| OKLab | oklab(86.06% -0.0405 0.1555) |
| OKLCH | oklch(86.06% 0.161 104.6) |
| XYZ | xyz(56.4260, 64.6693, 14.8193) |
| Luminance | 0.6467 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Piss Yellow
#DDD618
ΔE00 2.68
Dull Yellow
#EEDC5B
ΔE00 2.79
Dirty Yellow
#CDC50A
ΔE00 4.79
Ugly Yellow
#D0C101
ΔE00 5.48
Sand Yellow
#FCE166
ΔE00 5.48
Yellowish
#FAEE66
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D643 #434FE2
analogous
#E28743 #E2D643 #9EE243
triadic
#E2D643 #43E2D6 #D643E2
tetradic
#E2D643 #43E287 #434FE2 #E2439E
square
#E2D643 #43E287 #434FE2 #E2439E
split-complementary
#E2D643 #439EE2 #8743E2
monochromatic
#948A17 #C9BC1F #E2D643 #EAE278 #F2EDAD
Accessibility & contrast
On white
1.51
#E2D643 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.93
#E2D643 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D643
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D643 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D643 | 1.00 | 1.51 | 13.93 | 13.93 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9CF2B
Deuteranopia (green-blind)
#EDD54D
Tritanopia (blue-blind)
#F3C8B9
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #e2d643; /* rgb */ color: rgb(226, 214, 67); /* oklch */ color: oklch(86.1% 0.161 104.6);
Tailwind
colors: {
custom: {
50: '#efe280',
500: '#e2d643',
950: '#000000',
},
}SCSS
$custom: #e2d643; $custom-light: #efe280; $custom-dark: #000000;
JSON
{
"hex": "#e2d643",
"rgb": {
"r": 226,
"g": 214,
"b": 67
},
"hsl": {
"h": 55.472,
"s": 73.272,
"l": 57.451
},
"oklch": {
"l": 0.8606,
"c": 0.16071,
"h": 104.6
},
"luminance": 0.64667
}Semantic roles & 50–950 ramp
primary
#E2D643
secondary
#313998
accent
#46F038
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E