#E7D168#E7D168
#E7D168 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.8% C 0.128 H 97.7°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D168 |
|---|---|
| RGB | rgb(231, 209, 104) |
| HSL | hsl(50, 73%, 66%) |
| HSV | hsv(50, 55%, 91%) |
| CMYK | cmyk(0%, 9.5%, 55%, 9.4%) |
| CIE-LAB | lab(83.75, -5.25, 54.10) |
| CIE-LCH | lch(83.75, 54.35, 95.54°) |
| OKLab | oklab(85.82% -0.0171 0.1266) |
| OKLCH | oklch(85.82% 0.128 97.7) |
| XYZ | xyz(58.2563, 63.5918, 22.2998) |
| Luminance | 0.6359 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.59
Sand (survey)
#E2CA76
ΔE00 3.52
Light Mustard
#F7D560
ΔE00 3.66
Dull Yellow
#EEDC5B
ΔE00 3.80
Pale Gold
#FDDE6C
ΔE00 4.13
Maize
#F4D054
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D168 #687EE7
analogous
#E79168 #E7D168 #BDE768
triadic
#E7D168 #68E7D1 #D168E7
tetradic
#E7D168 #68E791 #687EE7 #E768BD
square
#E7D168 #68E791 #687EE7 #E768BD
split-complementary
#E7D168 #68BDE7 #9168E7
monochromatic
#B79D1D #DFC133 #E7D168 #EFE19D #F8F1D2
Accessibility & contrast
On white
1.53
#E7D168 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.72
#E7D168 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D168
13.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D168 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D168 | 1.00 | 1.53 | 13.72 | 13.72 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CC5E
Deuteranopia (green-blind)
#E8D46D
Tritanopia (blue-blind)
#F7C4B9
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e7d168; /* rgb */ color: rgb(231, 209, 104); /* oklch */ color: oklch(85.8% 0.128 97.7);
Tailwind
colors: {
custom: {
50: '#f1de96',
500: '#e7d168',
950: '#000000',
},
}SCSS
$custom: #e7d168; $custom-light: #f1de96; $custom-dark: #000000;
JSON
{
"hex": "#e7d168",
"rgb": {
"r": 231,
"g": 209,
"b": 104
},
"hsl": {
"h": 49.606,
"s": 72.571,
"l": 65.686
},
"oklch": {
"l": 0.85816,
"c": 0.12777,
"h": 97.7
},
"luminance": 0.63589
}Semantic roles & 50–950 ramp
primary
#E7D168
secondary
#3C51B7
accent
#33D511
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F