#8D8420#8D8420

#8D8420 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.3% C 0.116 H 104.0°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8D8420
RGBrgb(141, 132, 32)
HSLhsl(55, 63%, 34%)
HSVhsv(55, 77%, 55%)
CMYKcmyk(0%, 6.4%, 77.3%, 44.7%)
CIE-LABlab(54.31, -8.19, 51.38)
CIE-LCHlch(54.31, 52.03, 99.06°)
OKLaboklab(60.33% -0.0282 0.1126)
OKLCHoklch(60.33% 0.116 104)
XYZxyz(19.4973, 22.2703, 4.6378)
Luminance0.2227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8420 #20298D
analogous
#8D4E20 #8D8420 #608D20
triadic
#8D8420 #208D84 #84208D
tetradic
#8D8420 #208D4E #20298D #8D2060
square
#8D8420 #208D4E #20298D #8D2060
split-complementary
#8D8420 #20608D #4E208D
monochromatic
#292709 #5B5515 #8D8420 #BFB32B #D7CC50

Accessibility & contrast

On white

3.85
#8D8420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8D8420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8420
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8420#FFFFFF#000000##000000
##8D84201.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0A
Deuteranopia (green-blind)
#938428
Tritanopia (blue-blind)
#987A71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d8420;
/* rgb */ color: rgb(141, 132, 32);
/* oklch */ color: oklch(60.3% 0.116 104.0);
Tailwind
colors: {
  custom: {
    50: '#b2a764',
    500: '#8d8420',
    950: '#000000',
  },
}
SCSS
$custom: #8d8420;
$custom-light: #b2a764;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8420",
  "rgb": {
    "r": 141,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 55.046,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60334,
    "c": 0.11606,
    "h": 104
  },
  "luminance": 0.2227
}

Semantic roles & 50–950 ramp

primary
#8D8420
secondary
#4E57BA
accent
#4FE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8420

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

Preview Lab → · Contrast checker → · Palette generator →

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