#8B8322#8B8322

#8B8322 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.9% C 0.114 H 104.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8B8322
RGBrgb(139, 131, 34)
HSLhsl(55, 61%, 34%)
HSVhsv(55, 76%, 55%)
CMYKcmyk(0%, 5.8%, 75.5%, 45.5%)
CIE-LABlab(53.85, -8.47, 50.16)
CIE-LCHlch(53.85, 50.87, 99.58°)
OKLaboklab(59.93% -0.0286 0.1105)
OKLCHoklch(59.93% 0.114 104.5)
XYZxyz(19.0533, 21.8378, 4.7246)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8322 #222A8B
analogous
#8B4F22 #8B8322 #5F8B22
triadic
#8B8322 #228B83 #83228B
tetradic
#8B8322 #228B4F #222A8B #8B225F
square
#8B8322 #228B4F #222A8B #8B225F
split-complementary
#8B8322 #225F8B #4F228B
monochromatic
#29260A #5A5516 #8B8322 #BCB12E #D5CB53

Accessibility & contrast

On white

3.91
#8B8322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8B8322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8322
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8322#FFFFFF#000000##000000
##8B83221.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0F
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#967A70
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8b8322;
/* rgb */ color: rgb(139, 131, 34);
/* oklch */ color: oklch(59.9% 0.114 104.5);
Tailwind
colors: {
  custom: {
    50: '#b0a665',
    500: '#8b8322',
    950: '#000000',
  },
}
SCSS
$custom: #8b8322;
$custom-light: #b0a665;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8322",
  "rgb": {
    "r": 139,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 55.429,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59929,
    "c": 0.11412,
    "h": 104.5
  },
  "luminance": 0.21837
}

Semantic roles & 50–950 ramp

primary
#8B8322
secondary
#5058B8
accent
#50E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8322

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

Preview Lab → · Contrast checker → · Palette generator →

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