#E7D481#E7D481
#E7D481 is a very light, moderate yellow. Relative luminance 0.657; OKLCH L 86.8% C 0.106 H 96.8°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D481 |
|---|---|
| RGB | rgb(231, 212, 129) |
| HSL | hsl(49, 68%, 71%) |
| HSV | hsv(49, 44%, 91%) |
| CMYK | cmyk(0%, 8.2%, 44.2%, 9.4%) |
| CIE-LAB | lab(84.82, -4.57, 43.33) |
| CIE-LCH | lch(84.82, 43.57, 96.02°) |
| OKLab | oklab(86.76% -0.0125 0.1049) |
| OKLCH | oklch(86.76% 0.106 96.8) |
| XYZ | xyz(60.4625, 65.6630, 30.2539) |
| Luminance | 0.6566 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.62
Sand (survey)
#E2CA76
ΔE00 2.63
Wheat (survey)
#FBDD7E
ΔE00 4.13
Khaki (CSS)
#F0E68C
ΔE00 4.58
Pale Gold
#FDDE6C
ΔE00 5.76
Light Mustard
#F7D560
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D481 #8194E7
analogous
#E7A181 #E7D481 #C7E781
triadic
#E7D481 #81E7D4 #D481E7
tetradic
#E7D481 #81E7A1 #8194E7 #E781C7
square
#E7D481 #81E7A1 #8194E7 #E781C7
split-complementary
#E7D481 #81C7E7 #A181E7
monochromatic
#C8A926 #DDC24E #E7D481 #F1E6B4 #FAF6E5
Accessibility & contrast
On white
1.49
#E7D481 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.13
#E7D481 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D481
14.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D481 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D481 | 1.00 | 1.49 | 14.13 | 14.13 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3D07A
Deuteranopia (green-blind)
#E8D784
Tritanopia (blue-blind)
#F5C9C0
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e7d481; /* rgb */ color: rgb(231, 212, 129); /* oklch */ color: oklch(86.8% 0.106 96.8);
Tailwind
colors: {
custom: {
50: '#f0e1a7',
500: '#e7d481',
950: '#000000',
},
}SCSS
$custom: #e7d481; $custom-light: #f0e1a7; $custom-dark: #000000;
JSON
{
"hex": "#e7d481",
"rgb": {
"r": 231,
"g": 212,
"b": 129
},
"hsl": {
"h": 48.824,
"s": 68,
"l": 70.588
},
"oklch": {
"l": 0.86762,
"c": 0.10562,
"h": 96.8
},
"luminance": 0.65661
}Semantic roles & 50–950 ramp
primary
#E7D481
secondary
#4D62C0
accent
#38D016
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480