#8D8120#8D8120

#8D8120 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.7% C 0.113 H 102.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8D8120
RGBrgb(141, 129, 32)
HSLhsl(53, 63%, 34%)
HSVhsv(53, 77%, 55%)
CMYKcmyk(0%, 8.5%, 77.3%, 44.7%)
CIE-LABlab(53.46, -6.54, 50.59)
CIE-LCHlch(53.46, 51.01, 97.37°)
OKLaboklab(59.66% -0.0235 0.1109)
OKLCHoklch(59.66% 0.113 102)
XYZxyz(19.0964, 21.4684, 4.5042)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8120 #202C8D
analogous
#8D4B20 #8D8120 #638D20
triadic
#8D8120 #208D81 #81208D
tetradic
#8D8120 #208D4B #202C8D #8D2063
square
#8D8120 #208D4B #202C8D #8D2063
split-complementary
#8D8120 #20638D #4B208D
monochromatic
#292609 #5B5315 #8D8120 #BFAF2B #D7C850

Accessibility & contrast

On white

3.97
#8D8120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8D8120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8120
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8120#FFFFFF#000000##000000
##8D81201.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0C
Deuteranopia (green-blind)
#918227
Tritanopia (blue-blind)
#98776E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d8120;
/* rgb */ color: rgb(141, 129, 32);
/* oklch */ color: oklch(59.7% 0.113 102.0);
Tailwind
colors: {
  custom: {
    50: '#b2a564',
    500: '#8d8120',
    950: '#000000',
  },
}
SCSS
$custom: #8d8120;
$custom-light: #b2a564;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8120",
  "rgb": {
    "r": 141,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 53.394,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59655,
    "c": 0.11337,
    "h": 102
  },
  "luminance": 0.21468
}

Semantic roles & 50–950 ramp

primary
#8D8120
secondary
#4E5ABA
accent
#54E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8120

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

Preview Lab → · Contrast checker → · Palette generator →

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