#8D8122#8D8122

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

Color values

HEX#8D8122
RGBrgb(141, 129, 34)
HSLhsl(53, 61%, 34%)
HSVhsv(53, 76%, 55%)
CMYKcmyk(0%, 8.5%, 75.9%, 44.7%)
CIE-LABlab(53.47, -6.45, 49.86)
CIE-LCHlch(53.47, 50.28, 97.37°)
OKLaboklab(59.67% -0.0231 0.1098)
OKLCHoklch(59.67% 0.112 101.9)
XYZxyz(19.1244, 21.4796, 4.6517)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8122 #222E8D
analogous
#8D4C22 #8D8122 #648D22
triadic
#8D8122 #228D81 #81228D
tetradic
#8D8122 #228D4C #222E8D #8D2264
square
#8D8122 #228D4C #222E8D #8D2264
split-complementary
#8D8122 #22648D #4C228D
monochromatic
#2A270A #5C5416 #8D8122 #BEAE2E #D6C754

Accessibility & contrast

On white

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

On black

5.30
#8D8122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8122
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8122#FFFFFF#000000##000000
##8D81221.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D10
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#98776F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d8122;
/* rgb */ color: rgb(141, 129, 34);
/* oklch */ color: oklch(59.7% 0.112 101.9);
Tailwind
colors: {
  custom: {
    50: '#b2a565',
    500: '#8d8122',
    950: '#000000',
  },
}
SCSS
$custom: #8d8122;
$custom-light: #b2a565;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8122",
  "rgb": {
    "r": 141,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 53.271,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59669,
    "c": 0.11216,
    "h": 101.9
  },
  "luminance": 0.21479
}

Semantic roles & 50–950 ramp

primary
#8D8122
secondary
#515DB9
accent
#56E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8122

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

Preview Lab → · Contrast checker → · Palette generator →

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