#8D7D20#8D7D20

#8D7D20 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.8% C 0.110 H 99.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8D7D20
RGBrgb(141, 125, 32)
HSLhsl(51, 63%, 34%)
HSVhsv(51, 77%, 55%)
CMYKcmyk(0%, 11.3%, 77.3%, 44.7%)
CIE-LABlab(52.33, -4.33, 49.53)
CIE-LCHlch(52.33, 49.72, 94.99°)
OKLaboklab(58.76% -0.0173 0.1086)
OKLCHoklch(58.76% 0.11 99)
XYZxyz(18.5798, 20.4352, 4.3319)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7D20 #20308D
analogous
#8D4720 #8D7D20 #678D20
triadic
#8D7D20 #208D7D #7D208D
tetradic
#8D7D20 #208D47 #20308D #8D2067
square
#8D7D20 #208D47 #20308D #8D2067
split-complementary
#8D7D20 #20678D #47208D
monochromatic
#292509 #5B5115 #8D7D20 #BFA92B #D7C350

Accessibility & contrast

On white

4.13
#8D7D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8D7D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7D20
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7D20#FFFFFF#000000##000000
##8D7D201.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0E
Deuteranopia (green-blind)
#8E7F26
Tritanopia (blue-blind)
#98736B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7d20;
/* rgb */ color: rgb(141, 125, 32);
/* oklch */ color: oklch(58.8% 0.110 99.0);
Tailwind
colors: {
  custom: {
    50: '#b2a263',
    500: '#8d7d20',
    950: '#000000',
  },
}
SCSS
$custom: #8d7d20;
$custom-light: #b2a263;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7d20",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 51.193,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58756,
    "c": 0.11,
    "h": 99
  },
  "luminance": 0.20434
}

Semantic roles & 50–950 ramp

primary
#8D7D20
secondary
#4E5EBA
accent
#5AE642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8D7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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