#E3DF2E#E3DF2E
#E3DF2E is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 87.9% C 0.179 H 108.2°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).
Color values
| HEX | #E3DF2E |
|---|---|
| RGB | rgb(227, 223, 46) |
| HSL | hsl(59, 76%, 54%) |
| HSV | hsv(59, 80%, 89%) |
| CMYK | cmyk(0%, 1.8%, 79.7%, 11%) |
| CIE-LAB | lab(86.66, -17.02, 78.82) |
| CIE-LCH | lch(86.66, 80.64, 102.18°) |
| OKLab | oklab(87.91% -0.056 0.1704) |
| OKLCH | oklch(87.91% 0.179 108.2) |
| XYZ | xyz(58.5618, 69.3055, 12.8768) |
| Luminance | 0.6930 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Piss Yellow
#DDD618
ΔE00 2.17
Off Yellow
#F1F33F
ΔE00 4.33
Dull Yellow
#EEDC5B
ΔE00 4.87
Sickly Yellow
#D0E429
ΔE00 5.00
Yellowish
#FAEE66
ΔE00 5.15
Lemon
#FFF700
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E3DF2E #2E32E3
analogous
#E3842E #E3DF2E #8CE32E
triadic
#E3DF2E #2EE3DF #DF2EE3
tetradic
#E3DF2E #2EE384 #2E32E3 #E32E8C
square
#E3DF2E #2EE384 #2E32E3 #E32E8C
split-complementary
#E3DF2E #2E8CE3 #842EE3
monochromatic
#858212 #BBB719 #E3DF2E #EAE764 #F1F09A
Accessibility & contrast
On white
1.41
#E3DF2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.86
#E3DF2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E3DF2E
14.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E3DF2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E3DF2E | 1.00 | 1.41 | 14.86 | 14.86 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2D600
Deuteranopia (green-blind)
#F5DC3F
Tritanopia (blue-blind)
#F4D0BF
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #e3df2e; /* rgb */ color: rgb(227, 223, 46); /* oklch */ color: oklch(87.9% 0.179 108.2);
Tailwind
colors: {
custom: {
50: '#f0e878',
500: '#e3df2e',
950: '#000000',
},
}SCSS
$custom: #e3df2e; $custom-light: #f0e878; $custom-dark: #000000;
JSON
{
"hex": "#e3df2e",
"rgb": {
"r": 227,
"g": 223,
"b": 46
},
"hsl": {
"h": 58.674,
"s": 76.371,
"l": 53.529
},
"oklch": {
"l": 0.87913,
"c": 0.17932,
"h": 108.2
},
"luminance": 0.69304
}Semantic roles & 50–950 ramp
primary
#E3DF2E
secondary
#2A2C8B
accent
#39F335
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160A
muted
#85847D