#8B7F19#8B7F19
#8B7F19 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.116 H 102.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7F19 |
|---|---|
| RGB | rgb(139, 127, 25) |
| HSL | hsl(54, 70%, 32%) |
| HSV | hsv(54, 82%, 55%) |
| CMYK | cmyk(0%, 8.6%, 82%, 45.5%) |
| CIE-LAB | lab(52.66, -6.65, 52.16) |
| CIE-LCH | lch(52.66, 52.58, 97.26°) |
| OKLab | oklab(58.97% -0.0244 0.1129) |
| OKLCH | oklch(58.97% 0.116 102.2) |
| XYZ | xyz(18.4132, 20.7387, 3.9526) |
| Luminance | 0.2074 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.76
Olive
#808000
ΔE00 3.81
Hazel
#8E7618
ΔE00 4.78
Ugly Brown
#7D7103
ΔE00 5.47
Puke Brown
#947706
ΔE00 5.79
Diarrhea
#9F8303
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7F19 #19258B
analogous
#8B4619 #8B7F19 #5E8B19
triadic
#8B7F19 #198B7F #7F198B
tetradic
#8B7F19 #198B46 #19258B #8B195E
square
#8B7F19 #198B46 #19258B #8B195E
split-complementary
#8B7F19 #195E8B #46198B
monochromatic
#232006 #575010 #8B7F19 #BFAE22 #DDCD41
Accessibility & contrast
On white
4.08
#8B7F19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#8B7F19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7F19
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7F19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7F19 | 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)
#8C7B00
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#96756C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8b7f19; /* rgb */ color: rgb(139, 127, 25); /* oklch */ color: oklch(59.0% 0.116 102.2);
Tailwind
colors: {
custom: {
50: '#b1a360',
500: '#8b7f19',
950: '#000000',
},
}SCSS
$custom: #8b7f19; $custom-light: #b1a360; $custom-dark: #000000;
JSON
{
"hex": "#8b7f19",
"rgb": {
"r": 139,
"g": 127,
"b": 25
},
"hsl": {
"h": 53.684,
"s": 69.512,
"l": 32.157
},
"oklch": {
"l": 0.58966,
"c": 0.11553,
"h": 102.2
},
"luminance": 0.20738
}Semantic roles & 50–950 ramp
primary
#8B7F19
secondary
#424FBE
accent
#4EEC3B
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#110F05
muted
#807F79