#8D845B#8D845B

#8D845B is a mid, muted yellow. Relative luminance 0.229; OKLCH L 61.1% C 0.059 H 97.3°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8D845B
RGBrgb(141, 132, 91)
HSLhsl(49, 22%, 45%)
HSVhsv(49, 35%, 55%)
CMYKcmyk(0%, 6.4%, 35.5%, 44.7%)
CIE-LABlab(54.99, -3.13, 23.40)
CIE-LCHlch(54.99, 23.60, 97.62°)
OKLaboklab(61.09% -0.0074 0.0581)
OKLCHoklch(61.09% 0.059 97.3)
XYZxyz(21.1244, 22.9212, 13.2070)
Luminance0.2292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D845B #5B648D
analogous
#8D6B5B #8D845B #7D8D5B
triadic
#8D845B #5B8D84 #845B8D
tetradic
#8D845B #5B8D6B #5B648D #8D5B7D
square
#8D845B #5B8D6B #5B648D #8D5B7D
split-complementary
#8D845B #5B7D8D #6B5B8D
monochromatic
#433E2B #686143 #8D845B #AAA27B #C2BCA0

Accessibility & contrast

On white

3.76
#8D845B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#8D845B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D845B
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D845B#FFFFFF#000000##000000
##8D845B1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8258
Deuteranopia (green-blind)
#8E855C
Tritanopia (blue-blind)
#947E79
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d845b;
/* rgb */ color: rgb(141, 132, 91);
/* oklch */ color: oklch(61.1% 0.059 97.3);
Tailwind
colors: {
  custom: {
    50: '#afa78a',
    500: '#8d845b',
    950: '#000000',
  },
}
SCSS
$custom: #8d845b;
$custom-light: #afa78a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d845b",
  "rgb": {
    "r": 141,
    "g": 132,
    "b": 91
  },
  "hsl": {
    "h": 49.2,
    "s": 21.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.61092,
    "c": 0.0586,
    "h": 97.3
  },
  "luminance": 0.22921
}

Semantic roles & 50–950 ramp

primary
#8D845B
secondary
#9499B0
accent
#79BE6A
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#100F0B
muted
#7F7F7C

Preview Lab

Preview with #8D845B

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

Preview Lab → · Contrast checker → · Palette generator →

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