#8D7E20#8D7E20

#8D7E20 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.111 H 99.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8D7E20
RGBrgb(141, 126, 32)
HSLhsl(52, 63%, 34%)
HSVhsv(52, 77%, 55%)
CMYKcmyk(0%, 10.6%, 77.3%, 44.7%)
CIE-LABlab(52.61, -4.88, 49.79)
CIE-LCHlch(52.61, 50.03, 95.60°)
OKLaboklab(58.98% -0.0188 0.1092)
OKLCHoklch(58.98% 0.111 99.8)
XYZxyz(18.7070, 20.6896, 4.3744)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7E20 #202F8D
analogous
#8D4820 #8D7E20 #668D20
triadic
#8D7E20 #208D7E #7E208D
tetradic
#8D7E20 #208D48 #202F8D #8D2066
square
#8D7E20 #208D48 #202F8D #8D2066
split-complementary
#8D7E20 #20668D #48208D
monochromatic
#292509 #5B5115 #8D7E20 #BFAB2B #D7C550

Accessibility & contrast

On white

4.09
#8D7E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8D7E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7E20
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7E20#FFFFFF#000000##000000
##8D7E201.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0D
Deuteranopia (green-blind)
#8F8026
Tritanopia (blue-blind)
#98746C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d7e20;
/* rgb */ color: rgb(141, 126, 32);
/* oklch */ color: oklch(59.0% 0.111 99.8);
Tailwind
colors: {
  custom: {
    50: '#b2a363',
    500: '#8d7e20',
    950: '#000000',
  },
}
SCSS
$custom: #8d7e20;
$custom-light: #b2a363;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7e20",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 51.743,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5898,
    "c": 0.11082,
    "h": 99.8
  },
  "luminance": 0.20689
}

Semantic roles & 50–950 ramp

primary
#8D7E20
secondary
#4E5DBA
accent
#58E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8D7E20

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

Preview Lab → · Contrast checker → · Palette generator →

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