#E4DF6F#E4DF6F
#E4DF6F is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.5% C 0.134 H 106.5°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).
Color values
| HEX | #E4DF6F |
|---|---|
| RGB | rgb(228, 223, 111) |
| HSL | hsl(57, 68%, 66%) |
| HSV | hsv(57, 51%, 89%) |
| CMYK | cmyk(0%, 2.2%, 51.3%, 10.6%) |
| CIE-LAB | lab(87.20, -12.95, 54.81) |
| CIE-LCH | lch(87.20, 56.32, 103.29°) |
| OKLab | oklab(88.52% -0.0383 0.1289) |
| OKLCH | oklch(88.52% 0.134 106.5) |
| XYZ | xyz(61.2534, 70.4188, 25.4014) |
| Luminance | 0.7042 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 3.90
Dull Yellow
#EEDC5B
ΔE00 4.04
Sandy Yellow
#FDEE73
ΔE00 4.61
Yellowish
#FAEE66
ΔE00 4.78
Straw
#FCF679
ΔE00 5.14
Sandy
#F1DA7A
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4DF6F #6F74E4
analogous
#E4A56F #E4DF6F #AFE46F
triadic
#E4DF6F #6FE4DF #DF6FE4
tetradic
#E4DF6F #6FE4A5 #6F74E4 #E46FAF
square
#E4DF6F #6FE4A5 #6F74E4 #E46FAF
split-complementary
#E4DF6F #6FAFE4 #A56FE4
monochromatic
#B6B022 #DAD43B #E4DF6F #EEEAA3 #F7F6D6
Accessibility & contrast
On white
1.39
#E4DF6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.08
#E4DF6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4DF6F
15.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4DF6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4DF6F | 1.00 | 1.39 | 15.08 | 15.08 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD864
Deuteranopia (green-blind)
#F2DD75
Tritanopia (blue-blind)
#F2D3C6
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #e4df6f; /* rgb */ color: rgb(228, 223, 111); /* oklch */ color: oklch(88.5% 0.134 106.5);
Tailwind
colors: {
custom: {
50: '#efe89b',
500: '#e4df6f',
950: '#000000',
},
}SCSS
$custom: #e4df6f; $custom-light: #efe89b; $custom-dark: #000000;
JSON
{
"hex": "#e4df6f",
"rgb": {
"r": 228,
"g": 223,
"b": 111
},
"hsl": {
"h": 57.436,
"s": 68.421,
"l": 66.471
},
"oklch": {
"l": 0.88518,
"c": 0.13448,
"h": 106.5
},
"luminance": 0.70417
}Semantic roles & 50–950 ramp
primary
#E4DF6F
secondary
#4045B7
accent
#1DD015
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F