#8D7C20#8D7C20

#8D7C20 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.109 H 98.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8D7C20
RGBrgb(141, 124, 32)
HSLhsl(51, 63%, 34%)
HSVhsv(51, 77%, 55%)
CMYKcmyk(0%, 12.1%, 77.3%, 44.7%)
CIE-LABlab(52.04, -3.77, 49.26)
CIE-LCHlch(52.04, 49.41, 94.37°)
OKLaboklab(58.53% -0.0157 0.1081)
OKLCHoklch(58.53% 0.109 98.3)
XYZxyz(18.4538, 20.1833, 4.2900)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7C20 #20318D
analogous
#8D4620 #8D7C20 #688D20
triadic
#8D7C20 #208D7C #7C208D
tetradic
#8D7C20 #208D46 #20318D #8D2068
square
#8D7C20 #208D46 #20318D #8D2068
split-complementary
#8D7C20 #20688D #46208D
monochromatic
#292409 #5B5015 #8D7C20 #BFA82B #D7C250

Accessibility & contrast

On white

4.17
#8D7C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8D7C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7C20
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7C20#FFFFFF#000000##000000
##8D7C201.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790E
Deuteranopia (green-blind)
#8D7F26
Tritanopia (blue-blind)
#99726A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d7c20;
/* rgb */ color: rgb(141, 124, 32);
/* oklch */ color: oklch(58.5% 0.109 98.3);
Tailwind
colors: {
  custom: {
    50: '#b2a163',
    500: '#8d7c20',
    950: '#000000',
  },
}
SCSS
$custom: #8d7c20;
$custom-light: #b2a163;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7c20",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 50.642,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58533,
    "c": 0.10921,
    "h": 98.3
  },
  "luminance": 0.20182
}

Semantic roles & 50–950 ramp

primary
#8D7C20
secondary
#4E5FBA
accent
#5BE642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7C20

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

Preview Lab → · Contrast checker → · Palette generator →

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