#E7DF6F#E7DF6F
#E7DF6F is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.8% C 0.134 H 105.1°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).
Color values
| HEX | #E7DF6F |
|---|---|
| RGB | rgb(231, 223, 111) |
| HSL | hsl(56, 71%, 67%) |
| HSV | hsv(56, 52%, 91%) |
| CMYK | cmyk(0%, 3.5%, 51.9%, 9.4%) |
| CIE-LAB | lab(87.44, -11.75, 55.16) |
| CIE-LCH | lch(87.44, 56.39, 102.02°) |
| OKLab | oklab(88.77% -0.035 0.1296) |
| OKLCH | oklch(88.77% 0.134 105.1) |
| XYZ | xyz(62.2137, 70.9139, 25.4464) |
| Luminance | 0.7091 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.40
Khaki (CSS)
#F0E68C
ΔE00 3.69
Sandy Yellow
#FDEE73
ΔE00 4.12
Yellowish
#FAEE66
ΔE00 4.42
Sandy
#F1DA7A
ΔE00 4.64
Straw
#FCF679
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7DF6F #6F77E7
analogous
#E7A36F #E7DF6F #B3E76F
triadic
#E7DF6F #6FE7DF #DF6FE7
tetradic
#E7DF6F #6FE7A3 #6F77E7 #E76FB3
square
#E7DF6F #6FE7A3 #6F77E7 #E76FB3
split-complementary
#E7DF6F #6FB3E7 #A36FE7
monochromatic
#BCB21F #DED33B #E7DF6F #F0EBA3 #F8F6D8
Accessibility & contrast
On white
1.38
#E7DF6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.18
#E7DF6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7DF6F
15.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7DF6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7DF6F | 1.00 | 1.38 | 15.18 | 15.18 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD864
Deuteranopia (green-blind)
#F3DE74
Tritanopia (blue-blind)
#F6D2C6
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #e7df6f; /* rgb */ color: rgb(231, 223, 111); /* oklch */ color: oklch(88.8% 0.134 105.1);
Tailwind
colors: {
custom: {
50: '#f1e89b',
500: '#e7df6f',
950: '#000000',
},
}SCSS
$custom: #e7df6f; $custom-light: #f1e89b; $custom-dark: #000000;
JSON
{
"hex": "#e7df6f",
"rgb": {
"r": 231,
"g": 223,
"b": 111
},
"hsl": {
"h": 56,
"s": 71.429,
"l": 67.059
},
"oklch": {
"l": 0.88768,
"c": 0.13426,
"h": 105.1
},
"luminance": 0.70912
}Semantic roles & 50–950 ramp
primary
#E7DF6F
secondary
#3F47BC
accent
#1FD312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F