#8D8460#8D8460

#8D8460 is a mid, muted yellow. Relative luminance 0.230; OKLCH L 61.2% C 0.052 H 95.8°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8D8460
RGBrgb(141, 132, 96)
HSLhsl(48, 19%, 46%)
HSVhsv(48, 32%, 55%)
CMYKcmyk(0%, 6.4%, 31.9%, 44.7%)
CIE-LABlab(55.08, -2.46, 20.70)
CIE-LCHlch(55.08, 20.85, 96.79°)
OKLaboklab(61.19% -0.0052 0.0519)
OKLCHoklch(61.19% 0.052 95.8)
XYZxyz(21.3473, 23.0103, 14.3810)
Luminance0.2301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8460 #60698D
analogous
#8D6E60 #8D8460 #808D60
triadic
#8D8460 #608D84 #84608D
tetradic
#8D8460 #608D6E #60698D #8D6080
square
#8D8460 #608D6E #60698D #8D6080
split-complementary
#8D8460 #60808D #6E608D
monochromatic
#44402E #696247 #8D8460 #A9A181 #C2BCA5

Accessibility & contrast

On white

3.75
#8D8460 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8D8460 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8460
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8460#FFFFFF#000000##000000
##8D84601.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B825E
Deuteranopia (green-blind)
#8E8561
Tritanopia (blue-blind)
#947F7A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d8460;
/* rgb */ color: rgb(141, 132, 96);
/* oklch */ color: oklch(61.2% 0.052 95.8);
Tailwind
colors: {
  custom: {
    50: '#afa78d',
    500: '#8d8460',
    950: '#000000',
  },
}
SCSS
$custom: #8d8460;
$custom-light: #afa78d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8460",
  "rgb": {
    "r": 141,
    "g": 132,
    "b": 96
  },
  "hsl": {
    "h": 48,
    "s": 18.987,
    "l": 46.471
  },
  "oklch": {
    "l": 0.61194,
    "c": 0.05217,
    "h": 95.8
  },
  "luminance": 0.2301
}

Semantic roles & 50–950 ramp

primary
#8D8460
secondary
#989DB0
accent
#7CBC6C
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#100F0C
muted
#7F7F7D

Preview Lab

Preview with #8D8460

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

Preview Lab → · Contrast checker → · Palette generator →

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