#8D8620#8D8620

#8D8620 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.8% C 0.118 H 105.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8D8620
RGBrgb(141, 134, 32)
HSLhsl(56, 63%, 34%)
HSVhsv(56, 77%, 55%)
CMYKcmyk(0%, 5%, 77.3%, 44.7%)
CIE-LABlab(54.88, -9.28, 51.91)
CIE-LCHlch(54.88, 52.73, 100.13°)
OKLaboklab(60.79% -0.0312 0.1137)
OKLCHoklch(60.79% 0.118 105.4)
XYZxyz(19.7712, 22.8180, 4.7291)
Luminance0.2282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8620 #20278D
analogous
#8D5020 #8D8620 #5E8D20
triadic
#8D8620 #208D86 #86208D
tetradic
#8D8620 #208D50 #20278D #8D205E
square
#8D8620 #208D50 #20278D #8D205E
split-complementary
#8D8620 #205E8D #50208D
monochromatic
#292709 #5B5715 #8D8620 #BFB52B #D7CF50

Accessibility & contrast

On white

3.77
#8D8620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8D8620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8620
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8620#FFFFFF#000000##000000
##8D86201.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928109
Deuteranopia (green-blind)
#958528
Tritanopia (blue-blind)
#987C73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8620;
/* rgb */ color: rgb(141, 134, 32);
/* oklch */ color: oklch(60.8% 0.118 105.4);
Tailwind
colors: {
  custom: {
    50: '#b2a864',
    500: '#8d8620',
    950: '#000000',
  },
}
SCSS
$custom: #8d8620;
$custom-light: #b2a864;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8620",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 56.147,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60789,
    "c": 0.11793,
    "h": 105.4
  },
  "luminance": 0.22817
}

Semantic roles & 50–950 ramp

primary
#8D8620
secondary
#4E55BA
accent
#4CE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8620

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

Preview Lab → · Contrast checker → · Palette generator →

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