#E1DF5F#E1DF5F
#E1DF5F is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.1% C 0.149 H 108.3°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).
Color values
| HEX | #E1DF5F |
|---|---|
| RGB | rgb(225, 223, 95) |
| HSL | hsl(59, 68%, 63%) |
| HSV | hsv(59, 58%, 88%) |
| CMYK | cmyk(0%, 0.9%, 57.8%, 11.8%) |
| CIE-LAB | lab(86.81, -15.39, 61.47) |
| CIE-LCH | lch(86.81, 63.36, 104.06°) |
| OKLab | oklab(88.09% -0.0467 0.1415) |
| OKLCH | oklch(88.09% 0.149 108.3) |
| XYZ | xyz(59.5063, 69.6108, 21.1259) |
| Luminance | 0.6961 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 4.04
Yellowish
#FAEE66
ΔE00 4.48
Sandy Yellow
#FDEE73
ΔE00 4.97
Straw
#FCF679
ΔE00 5.24
Piss Yellow
#DDD618
ΔE00 5.33
Khaki (CSS)
#F0E68C
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E1DF5F #5F61E1
analogous
#E19E5F #E1DF5F #A2E15F
triadic
#E1DF5F #5FE1DF #DF5FE1
tetradic
#E1DF5F #5FE19E #5F61E1 #E15FA2
square
#E1DF5F #5FE19E #5F61E1 #E15FA2
split-complementary
#E1DF5F #5FA2E1 #9E5FE1
monochromatic
#A6A41F #D7D52B #E1DF5F #EBE993 #F4F4C6
Accessibility & contrast
On white
1.41
#E1DF5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.92
#E1DF5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E1DF5F
14.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E1DF5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E1DF5F | 1.00 | 1.41 | 14.92 | 14.92 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F0D751
Deuteranopia (green-blind)
#F2DC66
Tritanopia (blue-blind)
#F0D2C3
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #e1df5f; /* rgb */ color: rgb(225, 223, 95); /* oklch */ color: oklch(88.1% 0.149 108.3);
Tailwind
colors: {
custom: {
50: '#ede891',
500: '#e1df5f',
950: '#000000',
},
}SCSS
$custom: #e1df5f; $custom-light: #ede891; $custom-dark: #000000;
JSON
{
"hex": "#e1df5f",
"rgb": {
"r": 225,
"g": 223,
"b": 95
},
"hsl": {
"h": 59.077,
"s": 68.421,
"l": 62.745
},
"oklch": {
"l": 0.88094,
"c": 0.14903,
"h": 108.3
},
"luminance": 0.69609
}Semantic roles & 50–950 ramp
primary
#E1DF5F
secondary
#3B3DA9
accent
#18D015
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F