#8D8320#8D8320

#8D8320 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.1% C 0.115 H 103.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8D8320
RGBrgb(141, 131, 32)
HSLhsl(54, 63%, 34%)
HSVhsv(54, 77%, 55%)
CMYKcmyk(0%, 7.1%, 77.3%, 44.7%)
CIE-LABlab(54.03, -7.64, 51.12)
CIE-LCHlch(54.03, 51.68, 98.50°)
OKLaboklab(60.11% -0.0266 0.112)
OKLCHoklch(60.11% 0.115 103.4)
XYZxyz(19.3624, 22.0004, 4.5928)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8320 #202A8D
analogous
#8D4D20 #8D8320 #618D20
triadic
#8D8320 #208D83 #83208D
tetradic
#8D8320 #208D4D #202A8D #8D2061
square
#8D8320 #208D4D #202A8D #8D2061
split-complementary
#8D8320 #20618D #4D208D
monochromatic
#292609 #5B5515 #8D8320 #BFB12B #D7CB50

Accessibility & contrast

On white

3.89
#8D8320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#8D8320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8320
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8320#FFFFFF#000000##000000
##8D83201.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0B
Deuteranopia (green-blind)
#938327
Tritanopia (blue-blind)
#987970
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d8320;
/* rgb */ color: rgb(141, 131, 32);
/* oklch */ color: oklch(60.1% 0.115 103.4);
Tailwind
colors: {
  custom: {
    50: '#b2a664',
    500: '#8d8320',
    950: '#000000',
  },
}
SCSS
$custom: #8d8320;
$custom-light: #b2a664;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8320",
  "rgb": {
    "r": 141,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 54.495,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60107,
    "c": 0.11515,
    "h": 103.4
  },
  "luminance": 0.22
}

Semantic roles & 50–950 ramp

primary
#8D8320
secondary
#4E58BA
accent
#51E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8320

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

Preview Lab → · Contrast checker → · Palette generator →

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