#8D8D4A#8D8D4A

#8D8D4A is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.8% C 0.089 H 108.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8D8D4A
RGBrgb(141, 141, 74)
HSLhsl(60, 31%, 42%)
HSVhsv(60, 48%, 55%)
CMYKcmyk(0%, 0%, 47.5%, 44.7%)
CIE-LABlab(57.28, -10.04, 35.51)
CIE-LCHlch(57.28, 36.91, 105.79°)
OKLaboklab(62.82% -0.0287 0.0847)
OKLCHoklch(62.82% 0.089 108.7)
XYZxyz(21.7459, 25.2074, 10.1972)
Luminance0.2521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D4A #4A4A8D
analogous
#8D6C4A #8D8D4A #6C8D4A
triadic
#8D8D4A #4A8D8D #8D4A8D
tetradic
#8D8D4A #4A8D6C #4A4A8D #8D4A6C
square
#8D8D4A #4A8D6C #4A4A8D #8D4A6C
split-complementary
#8D8D4A #4A6C8D #6C4A8D
monochromatic
#3D3D20 #656535 #8D8D4A #AFAF66 #C4C48E

Accessibility & contrast

On white

3.48
#8D8D4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#8D8D4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D4A
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D4A#FFFFFF#000000##000000
##8D8D4A1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968844
Deuteranopia (green-blind)
#978B4D
Tritanopia (blue-blind)
#95867D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8d4a;
/* rgb */ color: rgb(141, 141, 74);
/* oklch */ color: oklch(62.8% 0.089 108.7);
Tailwind
colors: {
  custom: {
    50: '#b0ae7e',
    500: '#8d8d4a',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d4a;
$custom-light: #b0ae7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d4a",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 74
  },
  "hsl": {
    "h": 60,
    "s": 31.163,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6282,
    "c": 0.08946,
    "h": 108.7
  },
  "luminance": 0.25207
}

Semantic roles & 50–950 ramp

primary
#8D8D4A
secondary
#8383B0
accent
#60C760
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#11100A
muted
#807F7C

Preview Lab

Preview with #8D8D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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