#8B7F1E#8B7F1E
#8B7F1E is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.0% C 0.113 H 101.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7F1E |
|---|---|
| RGB | rgb(139, 127, 30) |
| HSL | hsl(53, 64%, 33%) |
| HSV | hsv(53, 78%, 55%) |
| CMYK | cmyk(0%, 8.6%, 78.4%, 45.5%) |
| CIE-LAB | lab(52.69, -6.45, 50.52) |
| CIE-LCH | lch(52.69, 50.93, 97.28°) |
| OKLab | oklab(59% -0.0233 0.1104) |
| OKLCH | oklch(59% 0.113 101.9) |
| XYZ | xyz(18.4720, 20.7623, 4.2626) |
| Luminance | 0.2076 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.97
Olive
#808000
ΔE00 4.01
Hazel
#8E7618
ΔE00 4.73
Ugly Brown
#7D7103
ΔE00 5.53
Puke Brown
#947706
ΔE00 5.85
Diarrhea
#9F8303
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7F1E #1E2A8B
analogous
#8B481E #8B7F1E #618B1E
triadic
#8B7F1E #1E8B7F #7F1E8B
tetradic
#8B7F1E #1E8B48 #1E2A8B #8B1E61
square
#8B7F1E #1E8B48 #1E2A8B #8B1E61
split-complementary
#8B7F1E #1E618B #481E8B
monochromatic
#262308 #595113 #8B7F1E #BDAD29 #D8C94B
Accessibility & contrast
On white
4.08
#8B7F1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#8B7F1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7F1E
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7F1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7F1E | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 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)
#8B7B08
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#96756D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8b7f1e; /* rgb */ color: rgb(139, 127, 30); /* oklch */ color: oklch(59.0% 0.113 101.9);
Tailwind
colors: {
custom: {
50: '#b0a362',
500: '#8b7f1e',
950: '#000000',
},
}SCSS
$custom: #8b7f1e; $custom-light: #b0a362; $custom-dark: #000000;
JSON
{
"hex": "#8b7f1e",
"rgb": {
"r": 139,
"g": 127,
"b": 30
},
"hsl": {
"h": 53.394,
"s": 64.497,
"l": 33.137
},
"oklch": {
"l": 0.58995,
"c": 0.11288,
"h": 101.9
},
"luminance": 0.20761
}Semantic roles & 50–950 ramp
primary
#8B7F1E
secondary
#4A57BB
accent
#53E740
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A