#8B8720#8B8720

#8B8720 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.8% C 0.119 H 107.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8B8720
RGBrgb(139, 135, 32)
HSLhsl(58, 63%, 34%)
HSVhsv(58, 77%, 55%)
CMYKcmyk(0%, 2.9%, 77%, 45.5%)
CIE-LABlab(54.99, -10.74, 51.95)
CIE-LCHlch(54.99, 53.04, 101.68°)
OKLaboklab(60.83% -0.0352 0.1139)
OKLCHoklch(60.83% 0.119 107.2)
XYZxyz(19.5729, 22.9219, 4.7596)
Luminance0.2292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8720 #20248B
analogous
#8B5120 #8B8720 #598B20
triadic
#8B8720 #208B87 #87208B
tetradic
#8B8720 #208B51 #20248B #8B2059
square
#8B8720 #208B51 #20248B #8B2059
split-complementary
#8B8720 #20598B #51208B
monochromatic
#282609 #595715 #8B8720 #BDB72B #D6D14F

Accessibility & contrast

On white

3.76
#8B8720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#8B8720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8720
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8720#FFFFFF#000000##000000
##8B87201.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938208
Deuteranopia (green-blind)
#958528
Tritanopia (blue-blind)
#967E74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8b8720;
/* rgb */ color: rgb(139, 135, 32);
/* oklch */ color: oklch(60.8% 0.119 107.2);
Tailwind
colors: {
  custom: {
    50: '#b0a964',
    500: '#8b8720',
    950: '#000000',
  },
}
SCSS
$custom: #8b8720;
$custom-light: #b0a964;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8720",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 57.757,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60832,
    "c": 0.11919,
    "h": 107.2
  },
  "luminance": 0.22921
}

Semantic roles & 50–950 ramp

primary
#8B8720
secondary
#4D51BA
accent
#48E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8720

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

Preview Lab → · Contrast checker → · Palette generator →

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