#8D8D5D#8D8D5D

#8D8D5D is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.1% C 0.067 H 108.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8D8D5D
RGBrgb(141, 141, 93)
HSLhsl(60, 21%, 46%)
HSVhsv(60, 34%, 55%)
CMYKcmyk(0%, 0%, 34%, 44.7%)
CIE-LABlab(57.56, -7.84, 25.67)
CIE-LCHlch(57.56, 26.84, 106.99°)
OKLaboklab(63.14% -0.0208 0.0635)
OKLCHoklch(63.14% 0.067 108.2)
XYZxyz(22.4853, 25.5032, 14.0919)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D5D #5D5D8D
analogous
#8D755D #8D8D5D #758D5D
triadic
#8D8D5D #5D8D8D #8D5D8D
tetradic
#8D8D5D #5D8D75 #5D5D8D #8D5D75
square
#8D8D5D #5D8D75 #5D5D8D #8D5D75
split-complementary
#8D8D5D #5D758D #755D8D
monochromatic
#43432C #686845 #8D8D5D #AAAA7E #C2C2A2

Accessibility & contrast

On white

3.44
#8D8D5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#8D8D5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D5D
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D5D#FFFFFF#000000##000000
##8D8D5D1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95895A
Deuteranopia (green-blind)
#958B5F
Tritanopia (blue-blind)
#948781
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d8d5d;
/* rgb */ color: rgb(141, 141, 93);
/* oklch */ color: oklch(63.1% 0.067 108.2);
Tailwind
colors: {
  custom: {
    50: '#afae8b',
    500: '#8d8d5d',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d5d;
$custom-light: #afae8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d5d",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 93
  },
  "hsl": {
    "h": 60,
    "s": 20.513,
    "l": 45.882
  },
  "oklch": {
    "l": 0.6314,
    "c": 0.06683,
    "h": 108.2
  },
  "luminance": 0.25503
}

Semantic roles & 50–950 ramp

primary
#8D8D5D
secondary
#9696B0
accent
#6BBD6B
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100C
muted
#7F7F7D

Preview Lab

Preview with #8D8D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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