#8D8A2C#8D8A2C

#8D8A2C is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.8% C 0.114 H 107.5°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8D8A2C
RGBrgb(141, 138, 44)
HSLhsl(58, 52%, 36%)
HSVhsv(58, 69%, 55%)
CMYKcmyk(0%, 2.1%, 68.8%, 44.7%)
CIE-LABlab(56.11, -10.83, 48.48)
CIE-LCHlch(56.11, 49.68, 102.59°)
OKLaboklab(61.79% -0.0343 0.1087)
OKLCHoklch(61.79% 0.114 107.5)
XYZxyz(20.5283, 24.0222, 5.9378)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A2C #2C2F8D
analogous
#8D5A2C #8D8A2C #608D2C
triadic
#8D8A2C #2C8D8A #8A2C8D
tetradic
#8D8A2C #2C8D5A #2C2F8D #8D2C60
square
#8D8A2C #2C8D5A #2C2F8D #8D2C60
split-complementary
#8D8A2C #2C608D #5A2C8D
monochromatic
#302F0F #5E5C1D #8D8A2C #BCB83B #CFCC65

Accessibility & contrast

On white

3.62
#8D8A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8D8A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A2C
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A2C#FFFFFF#000000##000000
##8D8A2C1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851E
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#978177
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8a2c;
/* rgb */ color: rgb(141, 138, 44);
/* oklch */ color: oklch(61.8% 0.114 107.5);
Tailwind
colors: {
  custom: {
    50: '#b1ab6b',
    500: '#8d8a2c',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a2c;
$custom-light: #b1ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a2c",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 58.144,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61791,
    "c": 0.11401,
    "h": 107.5
  },
  "luminance": 0.24022
}

Semantic roles & 50–950 ramp

primary
#8D8A2C
secondary
#6062B5
accent
#50DC4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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