#8D8720#8D8720

#8D8720 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.0% C 0.119 H 106.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8D8720
RGBrgb(141, 135, 32)
HSLhsl(57, 63%, 34%)
HSVhsv(57, 77%, 55%)
CMYKcmyk(0%, 4.3%, 77.3%, 44.7%)
CIE-LABlab(55.17, -9.82, 52.18)
CIE-LCHlch(55.17, 53.09, 100.66°)
OKLaboklab(61.02% -0.0327 0.1143)
OKLCHoklch(61.02% 0.119 106)
XYZxyz(19.9100, 23.0957, 4.7754)
Luminance0.2309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8720 #20268D
analogous
#8D5120 #8D8720 #5D8D20
triadic
#8D8720 #208D87 #87208D
tetradic
#8D8720 #208D51 #20268D #8D205D
square
#8D8720 #208D51 #20268D #8D205D
split-complementary
#8D8720 #205D8D #51208D
monochromatic
#292709 #5B5715 #8D8720 #BFB72B #D7D050

Accessibility & contrast

On white

3.74
#8D8720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8D8720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8720
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8720#FFFFFF#000000##000000
##8D87201.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938208
Deuteranopia (green-blind)
#968628
Tritanopia (blue-blind)
#987D74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d8720;
/* rgb */ color: rgb(141, 135, 32);
/* oklch */ color: oklch(61.0% 0.119 106.0);
Tailwind
colors: {
  custom: {
    50: '#b2a964',
    500: '#8d8720',
    950: '#000000',
  },
}
SCSS
$custom: #8d8720;
$custom-light: #b2a964;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8720",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 56.697,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61018,
    "c": 0.11889,
    "h": 106
  },
  "luminance": 0.23095
}

Semantic roles & 50–950 ramp

primary
#8D8720
secondary
#4E54BA
accent
#4BE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8720

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

Preview Lab → · Contrast checker → · Palette generator →

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