#8B8220#8B8220

#8B8220 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.7% C 0.114 H 103.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8B8220
RGBrgb(139, 130, 32)
HSLhsl(55, 63%, 34%)
HSVhsv(55, 77%, 55%)
CMYKcmyk(0%, 6.5%, 77%, 45.5%)
CIE-LABlab(53.56, -8.01, 50.61)
CIE-LCHlch(53.56, 51.24, 99.00°)
OKLaboklab(59.69% -0.0275 0.111)
OKLCHoklch(59.69% 0.114 103.9)
XYZxyz(18.8916, 21.5593, 4.5325)
Luminance0.2156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8220 #20298B
analogous
#8B4C20 #8B8220 #5E8B20
triadic
#8B8220 #208B82 #82208B
tetradic
#8B8220 #208B4C #20298B #8B205E
square
#8B8220 #208B4C #20298B #8B205E
split-complementary
#8B8220 #205E8B #4C208B
monochromatic
#282509 #595315 #8B8220 #BDB12B #D6CB4F

Accessibility & contrast

On white

3.95
#8B8220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8B8220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8220
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8220#FFFFFF#000000##000000
##8B82201.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0B
Deuteranopia (green-blind)
#918227
Tritanopia (blue-blind)
#96796F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8b8220;
/* rgb */ color: rgb(139, 130, 32);
/* oklch */ color: oklch(59.7% 0.114 103.9);
Tailwind
colors: {
  custom: {
    50: '#b0a664',
    500: '#8b8220',
    950: '#000000',
  },
}
SCSS
$custom: #8b8220;
$custom-light: #b0a664;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8220",
  "rgb": {
    "r": 139,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 54.953,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59688,
    "c": 0.11441,
    "h": 103.9
  },
  "luminance": 0.21559
}

Semantic roles & 50–950 ramp

primary
#8B8220
secondary
#4D56BA
accent
#50E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8220

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

Preview Lab → · Contrast checker → · Palette generator →

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