#8F7F4E#8F7F4E
#8F7F4E is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.9% C 0.070 H 92.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7F4E |
|---|---|
| RGB | rgb(143, 127, 78) |
| HSL | hsl(45, 29%, 43%) |
| HSV | hsv(45, 45%, 56%) |
| CMYK | cmyk(0%, 11.2%, 45.5%, 43.9%) |
| CIE-LAB | lab(53.57, -1.02, 28.81) |
| CIE-LCH | lch(53.57, 28.83, 92.02°) |
| OKLab | oklab(59.94% -0.0024 0.07) |
| OKLCH | oklch(59.94% 0.07 92) |
| XYZ | xyz(20.2928, 21.5692, 10.3006) |
| Luminance | 0.2157 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.89
Brown Grey
#8D8468
ΔE00 6.41
Drab
#828344
ΔE00 6.74
Dark Sand
#A88F59
ΔE00 6.98
Coffee
#A6814C
ΔE00 7.58
Dirt
#8A6E45
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7F4E #4E5E8F
analogous
#8F5E4E #8F7F4E #7E8F4E
triadic
#8F7F4E #4E8F7F #7F4E8F
tetradic
#8F7F4E #4E8F5E #4E5E8F #8F4E7E
square
#8F7F4E #4E8F5E #4E5E8F #8F4E7E
split-complementary
#8F7F4E #4E7E8F #5E4E8F
monochromatic
#403923 #675C38 #8F7F4E #AF9E6C #C4B893
Accessibility & contrast
On white
3.95
#8F7F4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#8F7F4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7F4E
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7F4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7F4E | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897D4A
Deuteranopia (green-blind)
#8D8250
Tritanopia (blue-blind)
#987873
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8f7f4e; /* rgb */ color: rgb(143, 127, 78); /* oklch */ color: oklch(59.9% 0.070 92.0);
Tailwind
colors: {
custom: {
50: '#b1a480',
500: '#8f7f4e',
950: '#000000',
},
}SCSS
$custom: #8f7f4e; $custom-light: #b1a480; $custom-dark: #000000;
JSON
{
"hex": "#8f7f4e",
"rgb": {
"r": 143,
"g": 127,
"b": 78
},
"hsl": {
"h": 45.231,
"s": 29.412,
"l": 43.333
},
"oklch": {
"l": 0.59941,
"c": 0.07005,
"h": 92
},
"luminance": 0.21568
}Semantic roles & 50–950 ramp
primary
#8F7F4E
secondary
#8892B1
accent
#7BC662
background
#FBFAF7
surface
#F6F3EE
border
#D0CDC9
text
#110F0A
muted
#807F7C