#8D845F#8D845F

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

Color values

HEX#8D845F
RGBrgb(141, 132, 95)
HSLhsl(48, 19%, 46%)
HSVhsv(48, 33%, 55%)
CMYKcmyk(0%, 6.4%, 32.6%, 44.7%)
CIE-LABlab(55.06, -2.60, 21.24)
CIE-LCHlch(55.06, 21.40, 96.98°)
OKLaboklab(61.17% -0.0057 0.0532)
OKLCHoklch(61.17% 0.053 96.1)
XYZxyz(21.3016, 22.9920, 14.1400)
Luminance0.2299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D845F #5F688D
analogous
#8D6D5F #8D845F #7F8D5F
triadic
#8D845F #5F8D84 #845F8D
tetradic
#8D845F #5F8D6D #5F688D #8D5F7F
square
#8D845F #5F8D6D #5F688D #8D5F7F
split-complementary
#8D845F #5F7F8D #6D5F8D
monochromatic
#44402E #686246 #8D845F #A9A180 #C2BCA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D845F#FFFFFF#000000##000000
##8D845F1.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)
#8B825D
Deuteranopia (green-blind)
#8E8560
Tritanopia (blue-blind)
#947F7A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d845f;
/* rgb */ color: rgb(141, 132, 95);
/* oklch */ color: oklch(61.2% 0.053 96.1);
Tailwind
colors: {
  custom: {
    50: '#afa78c',
    500: '#8d845f',
    950: '#000000',
  },
}
SCSS
$custom: #8d845f;
$custom-light: #afa78c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d845f",
  "rgb": {
    "r": 141,
    "g": 132,
    "b": 95
  },
  "hsl": {
    "h": 48.261,
    "s": 19.492,
    "l": 46.275
  },
  "oklch": {
    "l": 0.61173,
    "c": 0.05347,
    "h": 96.1
  },
  "luminance": 0.22991
}

Semantic roles & 50–950 ramp

primary
#8D845F
secondary
#979CB0
accent
#7BBC6C
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#100F0C
muted
#7F7F7D

Preview Lab

Preview with #8D845F

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

Preview Lab → · Contrast checker → · Palette generator →

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