#8B7221#8B7221

#8B7221 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 56.1% C 0.101 H 91.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8B7221
RGBrgb(139, 114, 33)
HSLhsl(46, 62%, 34%)
HSVhsv(46, 76%, 55%)
CMYKcmyk(0%, 18%, 76.3%, 45.5%)
CIE-LABlab(49.05, 1.00, 45.95)
CIE-LCHlch(49.05, 45.96, 88.76°)
OKLaboklab(56.12% -0.0019 0.1013)
OKLCHoklch(56.12% 0.101 91.1)
XYZxyz(16.9402, 17.6344, 3.9501)
Luminance0.1763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7221 #213A8B
analogous
#8B3D21 #8B7221 #6F8B21
triadic
#8B7221 #218B72 #72218B
tetradic
#8B7221 #218B3D #213A8B #8B216F
square
#8B7221 #218B3D #213A8B #8B216F
split-complementary
#8B7221 #216F8B #3D218B
monochromatic
#28210A #5A4915 #8B7221 #BC9B2D #D6B651

Accessibility & contrast

On white

4.64
#8B7221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8B7221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B7221
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7221#FFFFFF#000000##FFFFFF
##8B72211.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7014
Deuteranopia (green-blind)
#857825
Tritanopia (blue-blind)
#976862
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8b7221;
/* rgb */ color: rgb(139, 114, 33);
/* oklch */ color: oklch(56.1% 0.101 91.1);
Tailwind
colors: {
  custom: {
    50: '#b19a62',
    500: '#8b7221',
    950: '#000000',
  },
}
SCSS
$custom: #8b7221;
$custom-light: #b19a62;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7221",
  "rgb": {
    "r": 139,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 45.849,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5612,
    "c": 0.10135,
    "h": 91.1
  },
  "luminance": 0.17633
}

Semantic roles & 50–950 ramp

primary
#8B7221
secondary
#4F68B9
accent
#69E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8B7221

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

Preview Lab → · Contrast checker → · Palette generator →

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