#8B8420#8B8420

#8B8420 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.1% C 0.116 H 105.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8B8420
RGBrgb(139, 132, 32)
HSLhsl(56, 63%, 34%)
HSVhsv(56, 77%, 55%)
CMYKcmyk(0%, 5%, 77%, 45.5%)
CIE-LABlab(54.13, -9.11, 51.15)
CIE-LCHlch(54.13, 51.95, 100.10°)
OKLaboklab(60.14% -0.0306 0.1122)
OKLCHoklch(60.14% 0.116 105.3)
XYZxyz(19.1603, 22.0965, 4.6220)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8420 #20278B
analogous
#8B4E20 #8B8420 #5C8B20
triadic
#8B8420 #208B84 #84208B
tetradic
#8B8420 #208B4E #20278B #8B205C
square
#8B8420 #208B4E #20278B #8B205C
split-complementary
#8B8420 #205C8B #4E208B
monochromatic
#282609 #595515 #8B8420 #BDB32B #D6CE4F

Accessibility & contrast

On white

3.88
#8B8420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8B8420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8420
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8420#FFFFFF#000000##000000
##8B84201.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0A
Deuteranopia (green-blind)
#938328
Tritanopia (blue-blind)
#967B71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8b8420;
/* rgb */ color: rgb(139, 132, 32);
/* oklch */ color: oklch(60.1% 0.116 105.3);
Tailwind
colors: {
  custom: {
    50: '#b0a764',
    500: '#8b8420',
    950: '#000000',
  },
}
SCSS
$custom: #8b8420;
$custom-light: #b0a764;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8420",
  "rgb": {
    "r": 139,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 56.075,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60144,
    "c": 0.11628,
    "h": 105.3
  },
  "luminance": 0.22096
}

Semantic roles & 50–950 ramp

primary
#8B8420
secondary
#4D54BA
accent
#4DE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8420

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

Preview Lab → · Contrast checker → · Palette generator →

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