#E2DD3F#E2DD3F
#E2DD3F is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.5% C 0.169 H 107.6°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DD3F |
|---|---|
| RGB | rgb(226, 221, 63) |
| HSL | hsl(58, 74%, 57%) |
| HSV | hsv(58, 72%, 89%) |
| CMYK | cmyk(0%, 2.2%, 72.1%, 11.4%) |
| CIE-LAB | lab(86.13, -15.81, 73.22) |
| CIE-LCH | lch(86.13, 74.91, 102.19°) |
| OKLab | oklab(87.5% -0.0512 0.1615) |
| OKLCH | oklch(87.5% 0.169 107.6) |
| XYZ | xyz(58.1199, 68.2425, 14.8123) |
| Luminance | 0.6824 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Piss Yellow
#DDD618
ΔE00 2.45
Dull Yellow
#EEDC5B
ΔE00 3.96
Yellowish
#FAEE66
ΔE00 4.76
Off Yellow
#F1F33F
ΔE00 4.92
Sickly Yellow
#D0E429
ΔE00 5.24
Dirty Yellow
#CDC50A
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DD3F #3F44E2
analogous
#E28C3F #E2DD3F #95E23F
triadic
#E2DD3F #3FE2DD #DD3FE2
tetradic
#E2DD3F #3FE28C #3F44E2 #E23F95
square
#E2DD3F #3FE28C #3F44E2 #E23F95
split-complementary
#E2DD3F #3F95E2 #8C3FE2
monochromatic
#918D16 #C6C11E #E2DD3F #EAE674 #F2F0A9
Accessibility & contrast
On white
1.43
#E2DD3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.65
#E2DD3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DD3F
14.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DD3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DD3F | 1.00 | 1.43 | 14.65 | 14.65 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD420
Deuteranopia (green-blind)
#F2DA4B
Tritanopia (blue-blind)
#F2CFBF
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #e2dd3f; /* rgb */ color: rgb(226, 221, 63); /* oklch */ color: oklch(87.5% 0.169 107.6);
Tailwind
colors: {
custom: {
50: '#efe77f',
500: '#e2dd3f',
950: '#000000',
},
}SCSS
$custom: #e2dd3f; $custom-light: #efe77f; $custom-dark: #000000;
JSON
{
"hex": "#e2dd3f",
"rgb": {
"r": 226,
"g": 221,
"b": 63
},
"hsl": {
"h": 58.16,
"s": 73.756,
"l": 56.667
},
"oklch": {
"l": 0.87498,
"c": 0.16938,
"h": 107.6
},
"luminance": 0.68241
}Semantic roles & 50–950 ramp
primary
#E2DD3F
secondary
#303396
accent
#3DF037
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E