#8D7220#8D7220

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

Color values

HEX#8D7220
RGBrgb(141, 114, 32)
HSLhsl(45, 63%, 34%)
HSVhsv(45, 77%, 55%)
CMYKcmyk(0%, 19.1%, 77.3%, 44.7%)
CIE-LABlab(49.26, 1.89, 46.62)
CIE-LCHlch(49.26, 46.66, 87.68°)
OKLaboklab(56.33% 0.0004 0.1025)
OKLCHoklch(56.33% 0.102 89.8)
XYZxyz(17.2635, 17.8027, 3.8932)
Luminance0.1780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7220 #203B8D
analogous
#8D3C20 #8D7220 #728D20
triadic
#8D7220 #208D72 #72208D
tetradic
#8D7220 #208D3C #203B8D #8D2072
square
#8D7220 #208D3C #203B8D #8D2072
split-complementary
#8D7220 #20728D #3C208D
monochromatic
#292109 #5B4A15 #8D7220 #BF9A2B #D7B650

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7220#FFFFFF#000000##FFFFFF
##8D72201.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)
#807112
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#996862
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d7220;
/* rgb */ color: rgb(141, 114, 32);
/* oklch */ color: oklch(56.3% 0.102 89.8);
Tailwind
colors: {
  custom: {
    50: '#b29a62',
    500: '#8d7220',
    950: '#000000',
  },
}
SCSS
$custom: #8d7220;
$custom-light: #b29a62;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7220",
  "rgb": {
    "r": 141,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 45.138,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56329,
    "c": 0.10246,
    "h": 89.8
  },
  "luminance": 0.17802
}

Semantic roles & 50–950 ramp

primary
#8D7220
secondary
#4E69BA
accent
#6AE642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8D7220

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

Preview Lab → · Contrast checker → · Palette generator →

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