#8D845E#8D845E

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

Color values

HEX#8D845E
RGBrgb(141, 132, 94)
HSLhsl(49, 20%, 46%)
HSVhsv(49, 33%, 55%)
CMYKcmyk(0%, 6.4%, 33.3%, 44.7%)
CIE-LABlab(55.05, -2.73, 21.78)
CIE-LCHlch(55.05, 21.95, 97.15°)
OKLaboklab(61.15% -0.0061 0.0544)
OKLCHoklch(61.15% 0.055 96.4)
XYZxyz(21.2564, 22.9740, 13.9022)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D845E #5E678D
analogous
#8D6C5E #8D845E #7E8D5E
triadic
#8D845E #5E8D84 #845E8D
tetradic
#8D845E #5E8D6C #5E678D #8D5E7E
square
#8D845E #5E8D6C #5E678D #8D5E7E
split-complementary
#8D845E #5E7E8D #6C5E8D
monochromatic
#443F2D #686246 #8D845E #A9A17F #C2BCA3

Accessibility & contrast

On white

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

On black

5.59
#8D845E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D845E
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D845E#FFFFFF#000000##000000
##8D845E1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C825B
Deuteranopia (green-blind)
#8E855F
Tritanopia (blue-blind)
#947E7A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d845e;
/* rgb */ color: rgb(141, 132, 94);
/* oklch */ color: oklch(61.2% 0.055 96.4);
Tailwind
colors: {
  custom: {
    50: '#afa78c',
    500: '#8d845e',
    950: '#000000',
  },
}
SCSS
$custom: #8d845e;
$custom-light: #afa78c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d845e",
  "rgb": {
    "r": 141,
    "g": 132,
    "b": 94
  },
  "hsl": {
    "h": 48.511,
    "s": 20,
    "l": 46.078
  },
  "oklch": {
    "l": 0.61153,
    "c": 0.05476,
    "h": 96.4
  },
  "luminance": 0.22973
}

Semantic roles & 50–950 ramp

primary
#8D845E
secondary
#979BB0
accent
#7BBD6B
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#100F0C
muted
#7F7F7D

Preview Lab

Preview with #8D845E

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

Preview Lab → · Contrast checker → · Palette generator →

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