#E7D26F#E7D26F
#E7D26F is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 86.1% C 0.122 H 97.6°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D26F |
|---|---|
| RGB | rgb(231, 210, 111) |
| HSL | hsl(50, 71%, 67%) |
| HSV | hsv(50, 52%, 91%) |
| CMYK | cmyk(0%, 9.1%, 51.9%, 9.4%) |
| CIE-LAB | lab(84.09, -5.19, 51.19) |
| CIE-LCH | lch(84.09, 51.46, 95.79°) |
| OKLab | oklab(86.11% -0.0162 0.121) |
| OKLCH | oklch(86.11% 0.122 97.6) |
| XYZ | xyz(58.8728, 64.2322, 24.3328) |
| Luminance | 0.6423 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.10
Sand (survey)
#E2CA76
ΔE00 3.02
Wheat (survey)
#FBDD7E
ΔE00 3.94
Light Mustard
#F7D560
ΔE00 4.15
Dull Yellow
#EEDC5B
ΔE00 4.29
Pale Gold
#FDDE6C
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D26F #6F84E7
analogous
#E7966F #E7D26F #C0E76F
triadic
#E7D26F #6FE7D2 #D26FE7
tetradic
#E7D26F #6FE796 #6F84E7 #E76FC0
square
#E7D26F #6FE796 #6F84E7 #E76FC0
split-complementary
#E7D26F #6FC0E7 #966FE7
monochromatic
#BCA11F #DEC23B #E7D26F #F0E2A3 #F8F3D8
Accessibility & contrast
On white
1.52
#E7D26F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.85
#E7D26F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D26F
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D26F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D26F | 1.00 | 1.52 | 13.85 | 13.85 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CE66
Deuteranopia (green-blind)
#E9D573
Tritanopia (blue-blind)
#F6C5BB
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #e7d26f; /* rgb */ color: rgb(231, 210, 111); /* oklch */ color: oklch(86.1% 0.122 97.6);
Tailwind
colors: {
custom: {
50: '#f1df9b',
500: '#e7d26f',
950: '#000000',
},
}SCSS
$custom: #e7d26f; $custom-light: #f1df9b; $custom-dark: #000000;
JSON
{
"hex": "#e7d26f",
"rgb": {
"r": 231,
"g": 210,
"b": 111
},
"hsl": {
"h": 49.5,
"s": 71.429,
"l": 67.059
},
"oklch": {
"l": 0.86105,
"c": 0.12206,
"h": 97.6
},
"luminance": 0.6423
}Semantic roles & 50–950 ramp
primary
#E7D26F
secondary
#3F54BC
accent
#34D312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F