#8D8562#8D8562

#8D8562 is a mid, muted yellow. Relative luminance 0.233; OKLCH L 61.5% C 0.051 H 96.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8D8562
RGBrgb(141, 133, 98)
HSLhsl(49, 18%, 47%)
HSVhsv(49, 30%, 55%)
CMYKcmyk(0%, 5.7%, 30.5%, 44.7%)
CIE-LABlab(55.40, -2.75, 20.00)
CIE-LCHlch(55.40, 20.19, 97.82°)
OKLaboklab(61.46% -0.006 0.0503)
OKLCHoklch(61.46% 0.051 96.8)
XYZxyz(21.5768, 23.3201, 14.9175)
Luminance0.2332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8562 #626A8D
analogous
#8D7062 #8D8562 #808D62
triadic
#8D8562 #628D85 #85628D
tetradic
#8D8562 #628D70 #626A8D #8D6280
square
#8D8562 #628D70 #626A8D #8D6280
split-complementary
#8D8562 #62808D #70628D
monochromatic
#454130 #696349 #8D8562 #A9A283 #C2BDA7

Accessibility & contrast

On white

3.71
#8D8562 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8D8562 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8562
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8562#FFFFFF#000000##000000
##8D85621.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8360
Deuteranopia (green-blind)
#8E8663
Tritanopia (blue-blind)
#94807C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d8562;
/* rgb */ color: rgb(141, 133, 98);
/* oklch */ color: oklch(61.5% 0.051 96.8);
Tailwind
colors: {
  custom: {
    50: '#afa88f',
    500: '#8d8562',
    950: '#000000',
  },
}
SCSS
$custom: #8d8562;
$custom-light: #afa88f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8562",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 98
  },
  "hsl": {
    "h": 48.837,
    "s": 17.992,
    "l": 46.863
  },
  "oklch": {
    "l": 0.61458,
    "c": 0.05062,
    "h": 96.8
  },
  "luminance": 0.2332
}

Semantic roles & 50–950 ramp

primary
#8D8562
secondary
#9A9EB1
accent
#7CBB6D
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#100F0C
muted
#7F7F7D

Preview Lab

Preview with #8D8562

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

Preview Lab → · Contrast checker → · Palette generator →

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