#8B8120#8B8120

#8B8120 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.5% C 0.113 H 103.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8B8120
RGBrgb(139, 129, 32)
HSLhsl(54, 63%, 34%)
HSVhsv(54, 77%, 55%)
CMYKcmyk(0%, 7.2%, 77%, 45.5%)
CIE-LABlab(53.27, -7.47, 50.34)
CIE-LCHlch(53.27, 50.89, 98.44°)
OKLaboklab(59.46% -0.026 0.1105)
OKLCHoklch(59.46% 0.113 103.2)
XYZxyz(18.7593, 21.2946, 4.4883)
Luminance0.2129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8120 #202A8B
analogous
#8B4B20 #8B8120 #5F8B20
triadic
#8B8120 #208B81 #81208B
tetradic
#8B8120 #208B4B #202A8B #8B205F
square
#8B8120 #208B4B #202A8B #8B205F
split-complementary
#8B8120 #205F8B #4B208B
monochromatic
#282509 #595315 #8B8120 #BDAF2B #D6CA4F

Accessibility & contrast

On white

3.99
#8B8120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8B8120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8120
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8120#FFFFFF#000000##000000
##8B81201.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0C
Deuteranopia (green-blind)
#908127
Tritanopia (blue-blind)
#96786E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8b8120;
/* rgb */ color: rgb(139, 129, 32);
/* oklch */ color: oklch(59.5% 0.113 103.2);
Tailwind
colors: {
  custom: {
    50: '#b0a564',
    500: '#8b8120',
    950: '#000000',
  },
}
SCSS
$custom: #8b8120;
$custom-light: #b0a564;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8120",
  "rgb": {
    "r": 139,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 54.393,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59461,
    "c": 0.11349,
    "h": 103.2
  },
  "luminance": 0.21294
}

Semantic roles & 50–950 ramp

primary
#8B8120
secondary
#4D57BA
accent
#51E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8120

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8B8120 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva