#8D8A5B#8D8A5B

#8D8A5B is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.4% C 0.066 H 105.0°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8D8A5B
RGBrgb(141, 138, 91)
HSLhsl(56, 22%, 45%)
HSVhsv(56, 35%, 55%)
CMYKcmyk(0%, 2.1%, 35.5%, 44.7%)
CIE-LABlab(56.68, -6.46, 25.61)
CIE-LCHlch(56.68, 26.42, 104.15°)
OKLaboklab(62.43% -0.017 0.0633)
OKLCHoklch(62.43% 0.066 105)
XYZxyz(21.9616, 24.5955, 13.4860)
Luminance0.2460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A5B #5B5E8D
analogous
#8D715B #8D8A5B #778D5B
triadic
#8D8A5B #5B8D8A #8A5B8D
tetradic
#8D8A5B #5B8D71 #5B5E8D #8D5B77
square
#8D8A5B #5B8D71 #5B5E8D #8D5B77
split-complementary
#8D8A5B #5B778D #715B8D
monochromatic
#43412B #686643 #8D8A5B #AAA77B #C2C0A0

Accessibility & contrast

On white

3.55
#8D8A5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#8D8A5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A5B
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A5B#FFFFFF#000000##000000
##8D8A5B1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928758
Deuteranopia (green-blind)
#93895D
Tritanopia (blue-blind)
#94847E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d8a5b;
/* rgb */ color: rgb(141, 138, 91);
/* oklch */ color: oklch(62.4% 0.066 105.0);
Tailwind
colors: {
  custom: {
    50: '#afac8a',
    500: '#8d8a5b',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a5b;
$custom-light: #afac8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a5b",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 91
  },
  "hsl": {
    "h": 56.4,
    "s": 21.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.62428,
    "c": 0.06555,
    "h": 105
  },
  "luminance": 0.24595
}

Semantic roles & 50–950 ramp

primary
#8D8A5B
secondary
#9496B0
accent
#6FBE6A
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100B
muted
#7F7F7C

Preview Lab

Preview with #8D8A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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