#8D8A5D#8D8A5D

#8D8A5D is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.5% C 0.063 H 104.8°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8D8A5D
RGBrgb(141, 138, 93)
HSLhsl(56, 21%, 46%)
HSVhsv(56, 34%, 55%)
CMYKcmyk(0%, 2.1%, 34%, 44.7%)
CIE-LABlab(56.71, -6.20, 24.55)
CIE-LCHlch(56.71, 25.32, 104.17°)
OKLaboklab(62.47% -0.0161 0.0609)
OKLCHoklch(62.47% 0.063 104.8)
XYZxyz(22.0490, 24.6304, 13.9465)
Luminance0.2463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A5D #5D608D
analogous
#8D725D #8D8A5D #788D5D
triadic
#8D8A5D #5D8D8A #8A5D8D
tetradic
#8D8A5D #5D8D72 #5D608D #8D5D78
square
#8D8A5D #5D8D72 #5D608D #8D5D78
split-complementary
#8D8A5D #5D788D #725D8D
monochromatic
#43422C #686645 #8D8A5D #AAA77E #C2C0A2

Accessibility & contrast

On white

3.54
#8D8A5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#8D8A5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A5D
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A5D#FFFFFF#000000##000000
##8D8A5D1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92875A
Deuteranopia (green-blind)
#93895F
Tritanopia (blue-blind)
#94847E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d8a5d;
/* rgb */ color: rgb(141, 138, 93);
/* oklch */ color: oklch(62.5% 0.063 104.8);
Tailwind
colors: {
  custom: {
    50: '#afac8b',
    500: '#8d8a5d',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a5d;
$custom-light: #afac8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a5d",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 93
  },
  "hsl": {
    "h": 56.25,
    "s": 20.513,
    "l": 45.882
  },
  "oklch": {
    "l": 0.62467,
    "c": 0.063,
    "h": 104.8
  },
  "luminance": 0.2463
}

Semantic roles & 50–950 ramp

primary
#8D8A5D
secondary
#9697B0
accent
#70BD6B
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100C
muted
#7F7F7D

Preview Lab

Preview with #8D8A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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