#8B8121#8B8121

#8B8121 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#8B8121
RGBrgb(139, 129, 33)
HSLhsl(54, 62%, 34%)
HSVhsv(54, 76%, 55%)
CMYKcmyk(0%, 7.2%, 76.3%, 45.5%)
CIE-LABlab(53.28, -7.42, 49.98)
CIE-LCHlch(53.28, 50.53, 98.44°)
OKLaboklab(59.47% -0.0258 0.1099)
OKLCHoklch(59.47% 0.113 103.2)
XYZxyz(18.7731, 21.3001, 4.5610)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8121 #212B8B
analogous
#8B4C21 #8B8121 #608B21
triadic
#8B8121 #218B81 #81218B
tetradic
#8B8121 #218B4C #212B8B #8B2160
square
#8B8121 #218B4C #212B8B #8B2160
split-complementary
#8B8121 #21608B #4C218B
monochromatic
#28250A #5A5315 #8B8121 #BCAF2D #D6C951

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8121#FFFFFF#000000##000000
##8B81211.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)
#8D7D0E
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#96786F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8b8121;
/* rgb */ color: rgb(139, 129, 33);
/* oklch */ color: oklch(59.5% 0.113 103.2);
Tailwind
colors: {
  custom: {
    50: '#b0a564',
    500: '#8b8121',
    950: '#000000',
  },
}
SCSS
$custom: #8b8121;
$custom-light: #b0a564;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8121",
  "rgb": {
    "r": 139,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 54.34,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59468,
    "c": 0.11288,
    "h": 103.2
  },
  "luminance": 0.21299
}

Semantic roles & 50–950 ramp

primary
#8B8121
secondary
#4F59B9
accent
#52E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8121

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

Preview Lab → · Contrast checker → · Palette generator →

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