#8D8121#8D8121

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

Color values

HEX#8D8121
RGBrgb(141, 129, 33)
HSLhsl(53, 62%, 34%)
HSVhsv(53, 77%, 55%)
CMYKcmyk(0%, 8.5%, 76.6%, 44.7%)
CIE-LABlab(53.46, -6.50, 50.23)
CIE-LCHlch(53.46, 50.65, 97.37°)
OKLaboklab(59.66% -0.0233 0.1103)
OKLCHoklch(59.66% 0.113 101.9)
XYZxyz(19.1102, 21.4739, 4.5768)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8121 #212D8D
analogous
#8D4B21 #8D8121 #638D21
triadic
#8D8121 #218D81 #81218D
tetradic
#8D8121 #218D4B #212D8D #8D2163
square
#8D8121 #218D4B #212D8D #8D2163
split-complementary
#8D8121 #21638D #4B218D
monochromatic
#2A260A #5B5415 #8D8121 #BFAE2D #D6C852

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8121#FFFFFF#000000##000000
##8D81211.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)
#8E7D0E
Deuteranopia (green-blind)
#918228
Tritanopia (blue-blind)
#98776F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d8121;
/* rgb */ color: rgb(141, 129, 33);
/* oklch */ color: oklch(59.7% 0.113 101.9);
Tailwind
colors: {
  custom: {
    50: '#b2a564',
    500: '#8d8121',
    950: '#000000',
  },
}
SCSS
$custom: #8d8121;
$custom-light: #b2a564;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8121",
  "rgb": {
    "r": 141,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 53.333,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59662,
    "c": 0.11277,
    "h": 101.9
  },
  "luminance": 0.21473
}

Semantic roles & 50–950 ramp

primary
#8D8121
secondary
#505CBA
accent
#55E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8121

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

Preview Lab → · Contrast checker → · Palette generator →

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