#8D8520#8D8520

#8D8520 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.6% C 0.117 H 104.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8D8520
RGBrgb(141, 133, 32)
HSLhsl(56, 63%, 34%)
HSVhsv(56, 77%, 55%)
CMYKcmyk(0%, 5.7%, 77.3%, 44.7%)
CIE-LABlab(54.60, -8.73, 51.65)
CIE-LCHlch(54.60, 52.38, 99.60°)
OKLaboklab(60.56% -0.0297 0.1132)
OKLCHoklch(60.56% 0.117 104.7)
XYZxyz(19.6336, 22.5428, 4.6832)
Luminance0.2254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8520 #20288D
analogous
#8D4F20 #8D8520 #5F8D20
triadic
#8D8520 #208D85 #85208D
tetradic
#8D8520 #208D4F #20288D #8D205F
square
#8D8520 #208D4F #20288D #8D205F
split-complementary
#8D8520 #205F8D #4F208D
monochromatic
#292709 #5B5615 #8D8520 #BFB42B #D7CD50

Accessibility & contrast

On white

3.81
#8D8520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8D8520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8520
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8520#FFFFFF#000000##000000
##8D85201.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918009
Deuteranopia (green-blind)
#948528
Tritanopia (blue-blind)
#987B72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8520;
/* rgb */ color: rgb(141, 133, 32);
/* oklch */ color: oklch(60.6% 0.117 104.7);
Tailwind
colors: {
  custom: {
    50: '#b2a864',
    500: '#8d8520',
    950: '#000000',
  },
}
SCSS
$custom: #8d8520;
$custom-light: #b2a864;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8520",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 55.596,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60562,
    "c": 0.11699,
    "h": 104.7
  },
  "luminance": 0.22542
}

Semantic roles & 50–950 ramp

primary
#8D8520
secondary
#4E56BA
accent
#4EE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8520

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

Preview Lab → · Contrast checker → · Palette generator →

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