#8D7221#8D7221

#8D7221 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.3% C 0.102 H 89.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8D7221
RGBrgb(141, 114, 33)
HSLhsl(45, 62%, 34%)
HSVhsv(45, 77%, 55%)
CMYKcmyk(0%, 19.1%, 76.6%, 44.7%)
CIE-LABlab(49.26, 1.93, 46.23)
CIE-LCHlch(49.26, 46.27, 87.61°)
OKLaboklab(56.34% 0.0007 0.1018)
OKLCHoklch(56.34% 0.102 89.6)
XYZxyz(17.2773, 17.8083, 3.9659)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7221 #213C8D
analogous
#8D3C21 #8D7221 #728D21
triadic
#8D7221 #218D72 #72218D
tetradic
#8D7221 #218D3C #213C8D #8D2172
square
#8D7221 #218D3C #213C8D #8D2172
split-complementary
#8D7221 #21728D #3C218D
monochromatic
#2A220A #5B4A15 #8D7221 #BF9A2D #D6B552

Accessibility & contrast

On white

4.60
#8D7221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8D7221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D7221
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7221#FFFFFF#000000##FFFFFF
##8D72211.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#996862
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d7221;
/* rgb */ color: rgb(141, 114, 33);
/* oklch */ color: oklch(56.3% 0.102 89.6);
Tailwind
colors: {
  custom: {
    50: '#b29a62',
    500: '#8d7221',
    950: '#000000',
  },
}
SCSS
$custom: #8d7221;
$custom-light: #b29a62;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7221",
  "rgb": {
    "r": 141,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 45,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56337,
    "c": 0.10183,
    "h": 89.6
  },
  "luminance": 0.17807
}

Semantic roles & 50–950 ramp

primary
#8D7221
secondary
#506ABA
accent
#6BE543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8D7221

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

Preview Lab → · Contrast checker → · Palette generator →

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