#8D8A3A#8D8A3A

#8D8A3A is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.9% C 0.102 H 107.0°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8D8A3A
RGBrgb(141, 138, 58)
HSLhsl(58, 42%, 39%)
HSVhsv(58, 59%, 55%)
CMYKcmyk(0%, 2.1%, 58.9%, 44.7%)
CIE-LABlab(56.23, -9.86, 42.32)
CIE-LCHlch(56.23, 43.45, 103.12°)
OKLaboklab(61.93% -0.03 0.0978)
OKLCHoklch(61.93% 0.102 107)
XYZxyz(20.8373, 24.1458, 7.5651)
Luminance0.2414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A3A #3A3D8D
analogous
#8D613A #8D8A3A #678D3A
triadic
#8D8A3A #3A8D8A #8A3A8D
tetradic
#8D8A3A #3A8D61 #3A3D8D #8D3A67
square
#8D8A3A #3A8D61 #3A3D8D #8D3A67
split-complementary
#8D8A3A #3A678D #613A8D
monochromatic
#363516 #626028 #8D8A3A #B6B24E #C8C579

Accessibility & contrast

On white

3.60
#8D8A3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#8D8A3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A3A
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A3A#FFFFFF#000000##000000
##8D8A3A1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958531
Deuteranopia (green-blind)
#96883E
Tritanopia (blue-blind)
#978279
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8a3a;
/* rgb */ color: rgb(141, 138, 58);
/* oklch */ color: oklch(61.9% 0.102 107.0);
Tailwind
colors: {
  custom: {
    50: '#b0ac73',
    500: '#8d8a3a',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a3a;
$custom-light: #b0ac73;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a3a",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 58
  },
  "hsl": {
    "h": 57.831,
    "s": 41.709,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61929,
    "c": 0.1023,
    "h": 107
  },
  "luminance": 0.24145
}

Semantic roles & 50–950 ramp

primary
#8D8A3A
secondary
#7174B1
accent
#5BD256
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8D8A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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