#8B7F1D#8B7F1D
#8B7F1D is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.0% C 0.113 H 102.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7F1D |
|---|---|
| RGB | rgb(139, 127, 29) |
| HSL | hsl(53, 65%, 33%) |
| HSV | hsv(53, 79%, 55%) |
| CMYK | cmyk(0%, 8.6%, 79.1%, 45.5%) |
| CIE-LAB | lab(52.68, -6.49, 50.86) |
| CIE-LCH | lch(52.68, 51.27, 97.27°) |
| OKLab | oklab(58.99% -0.0236 0.111) |
| OKLCH | oklch(58.99% 0.113 102) |
| XYZ | xyz(18.4595, 20.7573, 4.1964) |
| Luminance | 0.2076 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.92
Olive
#808000
ΔE00 3.97
Hazel
#8E7618
ΔE00 4.74
Ugly Brown
#7D7103
ΔE00 5.51
Puke Brown
#947706
ΔE00 5.83
Diarrhea
#9F8303
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7F1D #1D298B
analogous
#8B481D #8B7F1D #608B1D
triadic
#8B7F1D #1D8B7F #7F1D8B
tetradic
#8B7F1D #1D8B48 #1D298B #8B1D60
square
#8B7F1D #1D8B48 #1D298B #8B1D60
split-complementary
#8B7F1D #1D608B #481D8B
monochromatic
#262208 #585112 #8B7F1D #BEAD28 #D9C949
Accessibility & contrast
On white
4.08
#8B7F1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#8B7F1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7F1D
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7F1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7F1D | 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)
#8B7B06
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#96756D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8b7f1d; /* rgb */ color: rgb(139, 127, 29); /* oklch */ color: oklch(59.0% 0.113 102.0);
Tailwind
colors: {
custom: {
50: '#b0a362',
500: '#8b7f1d',
950: '#000000',
},
}SCSS
$custom: #8b7f1d; $custom-light: #b0a362; $custom-dark: #000000;
JSON
{
"hex": "#8b7f1d",
"rgb": {
"r": 139,
"g": 127,
"b": 29
},
"hsl": {
"h": 53.455,
"s": 65.476,
"l": 32.941
},
"oklch": {
"l": 0.58988,
"c": 0.11343,
"h": 102
},
"luminance": 0.20756
}Semantic roles & 50–950 ramp
primary
#8B7F1D
secondary
#4955BB
accent
#52E83F
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A