#8D7F20#8D7F20

#8D7F20 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.112 H 100.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8D7F20
RGBrgb(141, 127, 32)
HSLhsl(52, 63%, 34%)
HSVhsv(52, 77%, 55%)
CMYKcmyk(0%, 9.9%, 77.3%, 44.7%)
CIE-LABlab(52.89, -5.44, 50.06)
CIE-LCHlch(52.89, 50.35, 96.20°)
OKLaboklab(59.21% -0.0204 0.1098)
OKLCHoklch(59.21% 0.112 100.5)
XYZxyz(18.8355, 20.9466, 4.4172)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7F20 #202E8D
analogous
#8D4920 #8D7F20 #658D20
triadic
#8D7F20 #208D7F #7F208D
tetradic
#8D7F20 #208D49 #202E8D #8D2065
square
#8D7F20 #208D49 #202E8D #8D2065
split-complementary
#8D7F20 #20658D #49208D
monochromatic
#292509 #5B5215 #8D7F20 #BFAC2B #D7C650

Accessibility & contrast

On white

4.05
#8D7F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8D7F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7F20
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7F20#FFFFFF#000000##000000
##8D7F201.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0D
Deuteranopia (green-blind)
#908127
Tritanopia (blue-blind)
#98756D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d7f20;
/* rgb */ color: rgb(141, 127, 32);
/* oklch */ color: oklch(59.2% 0.112 100.5);
Tailwind
colors: {
  custom: {
    50: '#b2a363',
    500: '#8d7f20',
    950: '#000000',
  },
}
SCSS
$custom: #8d7f20;
$custom-light: #b2a363;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7f20",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 52.294,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59205,
    "c": 0.11165,
    "h": 100.5
  },
  "luminance": 0.20946
}

Semantic roles & 50–950 ramp

primary
#8D7F20
secondary
#4E5CBA
accent
#57E642
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D7F20

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

Preview Lab → · Contrast checker → · Palette generator →

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