#E2DF62#E2DF62
#E2DF62 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.2% C 0.146 H 107.8°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DF62 |
|---|---|
| RGB | rgb(226, 223, 98) |
| HSL | hsl(59, 69%, 64%) |
| HSV | hsv(59, 57%, 89%) |
| CMYK | cmyk(0%, 1.3%, 56.6%, 11.4%) |
| CIE-LAB | lab(86.91, -14.77, 60.30) |
| CIE-LCH | lch(86.91, 62.09, 103.76°) |
| OKLab | oklab(88.21% -0.0447 0.1394) |
| OKLCH | oklch(88.21% 0.146 107.8) |
| XYZ | xyz(59.9581, 69.8277, 21.8726) |
| Luminance | 0.6983 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.86
Yellowish
#FAEE66
ΔE00 4.40
Sandy Yellow
#FDEE73
ΔE00 4.77
Straw
#FCF679
ΔE00 5.14
Khaki (CSS)
#F0E68C
ΔE00 5.39
Piss Yellow
#DDD618
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DF62 #6265E2
analogous
#E29F62 #E2DF62 #A5E262
triadic
#E2DF62 #62E2DF #DF62E2
tetradic
#E2DF62 #62E29F #6265E2 #E262A5
square
#E2DF62 #62E29F #6265E2 #E262A5
split-complementary
#E2DF62 #62A5E2 #9F62E2
monochromatic
#AAA71F #D8D42E #E2DF62 #ECEA96 #F5F4C9
Accessibility & contrast
On white
1.40
#E2DF62 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.97
#E2DF62 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DF62
14.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DF62 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DF62 | 1.00 | 1.40 | 14.97 | 14.97 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F0D755
Deuteranopia (green-blind)
#F2DC69
Tritanopia (blue-blind)
#F1D2C4
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #e2df62; /* rgb */ color: rgb(226, 223, 98); /* oklch */ color: oklch(88.2% 0.146 107.8);
Tailwind
colors: {
custom: {
50: '#eee893',
500: '#e2df62',
950: '#000000',
},
}SCSS
$custom: #e2df62; $custom-light: #eee893; $custom-dark: #000000;
JSON
{
"hex": "#e2df62",
"rgb": {
"r": 226,
"g": 223,
"b": 98
},
"hsl": {
"h": 58.594,
"s": 68.817,
"l": 63.529
},
"oklch": {
"l": 0.88207,
"c": 0.14637,
"h": 107.8
},
"luminance": 0.69826
}Semantic roles & 50–950 ramp
primary
#E2DF62
secondary
#3C3FAC
accent
#19D115
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F