#8B7322#8B7322

#8B7322 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.3% C 0.101 H 91.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8B7322
RGBrgb(139, 115, 34)
HSLhsl(46, 61%, 34%)
HSVhsv(46, 76%, 55%)
CMYKcmyk(0%, 17.3%, 75.5%, 45.5%)
CIE-LABlab(49.33, 0.47, 45.81)
CIE-LCHlch(49.33, 45.82, 89.41°)
OKLaboklab(56.35% -0.0033 0.1013)
OKLCHoklch(56.35% 0.101 91.8)
XYZxyz(17.0679, 17.8670, 4.0627)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7322 #223A8B
analogous
#8B3F22 #8B7322 #6F8B22
triadic
#8B7322 #228B73 #73228B
tetradic
#8B7322 #228B3F #223A8B #8B226F
square
#8B7322 #228B3F #223A8B #8B226F
split-complementary
#8B7322 #226F8B #3F228B
monochromatic
#29220A #5A4A16 #8B7322 #BC9C2E #D5B753

Accessibility & contrast

On white

4.59
#8B7322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8B7322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B7322
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7322#FFFFFF#000000##FFFFFF
##8B73221.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807115
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#976963
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8b7322;
/* rgb */ color: rgb(139, 115, 34);
/* oklch */ color: oklch(56.3% 0.101 91.8);
Tailwind
colors: {
  custom: {
    50: '#b09b63',
    500: '#8b7322',
    950: '#000000',
  },
}
SCSS
$custom: #8b7322;
$custom-light: #b09b63;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7322",
  "rgb": {
    "r": 139,
    "g": 115,
    "b": 34
  },
  "hsl": {
    "h": 46.286,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56346,
    "c": 0.10131,
    "h": 91.8
  },
  "luminance": 0.17866
}

Semantic roles & 50–950 ramp

primary
#8B7322
secondary
#5068B8
accent
#69E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8B7322

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

Preview Lab → · Contrast checker → · Palette generator →

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