#8B7C2A#8B7C2A
#8B7C2A is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.4% C 0.102 H 98.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7C2A |
|---|---|
| RGB | rgb(139, 124, 42) |
| HSL | hsl(51, 54%, 35%) |
| HSV | hsv(51, 70%, 55%) |
| CMYK | cmyk(0%, 10.8%, 69.8%, 45.5%) |
| CIE-LAB | lab(51.92, -4.17, 45.00) |
| CIE-LCH | lch(51.92, 45.19, 95.30°) |
| OKLab | oklab(58.41% -0.0156 0.1011) |
| OKLCH | oklch(58.41% 0.102 98.8) |
| XYZ | xyz(18.2739, 20.0723, 5.1018) |
| Luminance | 0.2007 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.67
Baby Poop
#937C00
ΔE00 4.43
Puke Brown
#947706
ΔE00 5.31
Ugly Brown
#7D7103
ΔE00 5.33
Poo
#8F7303
ΔE00 5.54
Olive
#808000
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7C2A #2A398B
analogous
#8B4C2A #8B7C2A #698B2A
triadic
#8B7C2A #2A8B7C #7C2A8B
tetradic
#8B7C2A #2A8B4C #2A398B #8B2A69
square
#8B7C2A #2A8B4C #2A398B #8B2A69
split-complementary
#8B7C2A #2A698B #4C2A8B
monochromatic
#2D280E #5C521C #8B7C2A #BAA638 #CFBE60
Accessibility & contrast
On white
4.19
#8B7C2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#8B7C2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7C2A
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7C2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7C2A | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88791F
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#96736B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8b7c2a; /* rgb */ color: rgb(139, 124, 42); /* oklch */ color: oklch(58.4% 0.102 98.8);
Tailwind
colors: {
custom: {
50: '#b0a168',
500: '#8b7c2a',
950: '#000000',
},
}SCSS
$custom: #8b7c2a; $custom-light: #b0a168; $custom-dark: #000000;
JSON
{
"hex": "#8b7c2a",
"rgb": {
"r": 139,
"g": 124,
"b": 42
},
"hsl": {
"h": 50.722,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.5841,
"c": 0.10227,
"h": 98.8
},
"luminance": 0.20071
}Semantic roles & 50–950 ramp
primary
#8B7C2A
secondary
#5C6AB5
accent
#61DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A