#8D7A20#8D7A20

#8D7A20 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.108 H 96.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8D7A20
RGBrgb(141, 122, 32)
HSLhsl(50, 63%, 34%)
HSVhsv(50, 77%, 55%)
CMYKcmyk(0%, 13.5%, 77.3%, 44.7%)
CIE-LABlab(51.48, -2.65, 48.73)
CIE-LCHlch(51.48, 48.80, 93.11°)
OKLaboklab(58.09% -0.0125 0.107)
OKLCHoklch(58.09% 0.108 96.7)
XYZxyz(18.2057, 19.6870, 4.2073)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7A20 #20338D
analogous
#8D4420 #8D7A20 #6A8D20
triadic
#8D7A20 #208D7A #7A208D
tetradic
#8D7A20 #208D44 #20338D #8D206A
square
#8D7A20 #208D44 #20338D #8D206A
split-complementary
#8D7A20 #206A8D #44208D
monochromatic
#292409 #5B4F15 #8D7A20 #BFA52B #D7C050

Accessibility & contrast

On white

4.25
#8D7A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8D7A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7A20
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7A20#FFFFFF#000000##000000
##8D7A201.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770F
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#997069
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7a20;
/* rgb */ color: rgb(141, 122, 32);
/* oklch */ color: oklch(58.1% 0.108 96.7);
Tailwind
colors: {
  custom: {
    50: '#b2a063',
    500: '#8d7a20',
    950: '#000000',
  },
}
SCSS
$custom: #8d7a20;
$custom-light: #b2a063;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7a20",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 49.541,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58087,
    "c": 0.10768,
    "h": 96.7
  },
  "luminance": 0.19686
}

Semantic roles & 50–950 ramp

primary
#8D7A20
secondary
#4E61BA
accent
#5EE642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7A20

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

Preview Lab → · Contrast checker → · Palette generator →

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