#8D8A4D#8D8A4D

#8D8A4D is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.2% C 0.082 H 106.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8D8A4D
RGBrgb(141, 138, 77)
HSLhsl(57, 29%, 43%)
HSVhsv(57, 45%, 55%)
CMYKcmyk(0%, 2.1%, 45.4%, 44.7%)
CIE-LABlab(56.46, -8.10, 32.94)
CIE-LCHlch(56.46, 33.92, 103.81°)
OKLaboklab(62.19% -0.0228 0.0793)
OKLCHoklch(62.19% 0.082 106.1)
XYZxyz(21.4130, 24.3760, 10.5968)
Luminance0.2437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A4D #4D508D
analogous
#8D6A4D #8D8A4D #708D4D
triadic
#8D8A4D #4D8D8A #8A4D8D
tetradic
#8D8A4D #4D8D6A #4D508D #8D4D70
square
#8D8A4D #4D8D6A #4D508D #8D4D70
split-complementary
#8D8A4D #4D708D #6A4D8D
monochromatic
#3E3D22 #656337 #8D8A4D #ADAA6A #C3C191

Accessibility & contrast

On white

3.57
#8D8A4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#8D8A4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A4D
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A4D#FFFFFF#000000##000000
##8D8A4D1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938648
Deuteranopia (green-blind)
#958950
Tritanopia (blue-blind)
#95837B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8a4d;
/* rgb */ color: rgb(141, 138, 77);
/* oklch */ color: oklch(62.2% 0.082 106.1);
Tailwind
colors: {
  custom: {
    50: '#b0ac80',
    500: '#8d8a4d',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a4d;
$custom-light: #b0ac80;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a4d",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 77
  },
  "hsl": {
    "h": 57.187,
    "s": 29.358,
    "l": 42.745
  },
  "oklch": {
    "l": 0.62185,
    "c": 0.08248,
    "h": 106.1
  },
  "luminance": 0.24375
}

Semantic roles & 50–950 ramp

primary
#8D8A4D
secondary
#8688AF
accent
#67C662
background
#FAFAF7
surface
#F5F4EE
border
#CFCEC9
text
#11100A
muted
#807F7C

Preview Lab

Preview with #8D8A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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