#8A7F4E#8A7F4E
#8A7F4E is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.5% C 0.069 H 97.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7F4E |
|---|---|
| RGB | rgb(138, 127, 78) |
| HSL | hsl(49, 28%, 42%) |
| HSV | hsv(49, 43%, 54%) |
| CMYK | cmyk(0%, 8%, 43.5%, 45.9%) |
| CIE-LAB | lab(53.09, -3.20, 28.11) |
| CIE-LCH | lch(53.09, 28.30, 96.49°) |
| OKLab | oklab(59.46% -0.0085 0.0685) |
| OKLCH | oklch(59.46% 0.069 97.1) |
| XYZ | xyz(19.4462, 21.1327, 10.2609) |
| Luminance | 0.2113 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 5.11
Dark Khaki
#9B8F55
ΔE00 5.99
Brown Grey
#8D8468
ΔE00 6.32
Grey Brown
#7F7053
ΔE00 8.16
Dark Sand
#A88F59
ΔE00 8.27
Brownish Grey
#86775F
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7F4E #4E598A
analogous
#8A614E #8A7F4E #778A4E
triadic
#8A7F4E #4E8A7F #7F4E8A
tetradic
#8A7F4E #4E8A61 #4E598A #8A4E77
square
#8A7F4E #4E8A61 #4E598A #8A4E77
split-complementary
#8A7F4E #4E778A #614E8A
monochromatic
#3C3722 #635B38 #8A7F4E #AB9F6A #C1B891
Accessibility & contrast
On white
4.02
#8A7F4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#8A7F4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7F4E
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7F4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7F4E | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887D4A
Deuteranopia (green-blind)
#8B8050
Tritanopia (blue-blind)
#927873
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8a7f4e; /* rgb */ color: rgb(138, 127, 78); /* oklch */ color: oklch(59.5% 0.069 97.1);
Tailwind
colors: {
custom: {
50: '#ada480',
500: '#8a7f4e',
950: '#000000',
},
}SCSS
$custom: #8a7f4e; $custom-light: #ada480; $custom-dark: #000000;
JSON
{
"hex": "#8a7f4e",
"rgb": {
"r": 138,
"g": 127,
"b": 78
},
"hsl": {
"h": 49,
"s": 27.778,
"l": 42.353
},
"oklch": {
"l": 0.59455,
"c": 0.069,
"h": 97.1
},
"luminance": 0.21132
}Semantic roles & 50–950 ramp
primary
#8A7F4E
secondary
#868DAE
accent
#75C464
background
#FAFAF7
surface
#F4F3EE
border
#CECDC9
text
#100F0A
muted
#7F7F7C