#8B7F1F#8B7F1F
#8B7F1F is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.0% C 0.112 H 101.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7F1F |
|---|---|
| RGB | rgb(139, 127, 31) |
| HSL | hsl(53, 64%, 33%) |
| HSV | hsv(53, 78%, 55%) |
| CMYK | cmyk(0%, 8.6%, 77.7%, 45.5%) |
| CIE-LAB | lab(52.69, -6.41, 50.17) |
| CIE-LCH | lch(52.69, 50.57, 97.28°) |
| OKLab | oklab(59% -0.0231 0.1099) |
| OKLCH | oklch(59% 0.112 101.9) |
| XYZ | xyz(18.4850, 20.7675, 4.3309) |
| Luminance | 0.2077 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.02
Olive
#808000
ΔE00 4.06
Hazel
#8E7618
ΔE00 4.72
Ugly Brown
#7D7103
ΔE00 5.55
Puke Brown
#947706
ΔE00 5.87
Diarrhea
#9F8303
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7F1F #1F2B8B
analogous
#8B491F #8B7F1F #618B1F
triadic
#8B7F1F #1F8B7F #7F1F8B
tetradic
#8B7F1F #1F8B49 #1F2B8B #8B1F61
square
#8B7F1F #1F8B49 #1F2B8B #8B1F61
split-complementary
#8B7F1F #1F618B #491F8B
monochromatic
#272409 #595114 #8B7F1F #BDAD2A #D7C84D
Accessibility & contrast
On white
4.07
#8B7F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#8B7F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7F1F
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7F1F | 1.00 | 4.07 | 5.15 | 5.15 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B0B
Deuteranopia (green-blind)
#8F8026
Tritanopia (blue-blind)
#96756D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8b7f1f; /* rgb */ color: rgb(139, 127, 31); /* oklch */ color: oklch(59.0% 0.112 101.9);
Tailwind
colors: {
custom: {
50: '#b0a363',
500: '#8b7f1f',
950: '#000000',
},
}SCSS
$custom: #8b7f1f; $custom-light: #b0a363; $custom-dark: #000000;
JSON
{
"hex": "#8b7f1f",
"rgb": {
"r": 139,
"g": 127,
"b": 31
},
"hsl": {
"h": 53.333,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.59001,
"c": 0.1123,
"h": 101.9
},
"luminance": 0.20767
}Semantic roles & 50–950 ramp
primary
#8B7F1F
secondary
#4C58BA
accent
#54E741
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A