#8C845F#8C845F

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

Color values

HEX#8C845F
RGBrgb(140, 132, 95)
HSLhsl(49, 19%, 46%)
HSVhsv(49, 32%, 55%)
CMYKcmyk(0%, 5.7%, 32.1%, 45.1%)
CIE-LABlab(54.97, -3.02, 21.11)
CIE-LCHlch(54.97, 21.32, 98.14°)
OKLaboklab(61.08% -0.0068 0.0529)
OKLCHoklch(61.08% 0.053 97.4)
XYZxyz(21.1323, 22.9047, 14.1321)
Luminance0.2290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C845F #5F678C
analogous
#8C6D5F #8C845F #7D8C5F
triadic
#8C845F #5F8C84 #845F8C
tetradic
#8C845F #5F8C6D #5F678C #8C5F7D
square
#8C845F #5F8C6D #5F678C #8C5F7D
split-complementary
#8C845F #5F7D8C #6D5F8C
monochromatic
#433F2E #686246 #8C845F #A9A180 #C1BCA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8c845f;
/* rgb */ color: rgb(140, 132, 95);
/* oklch */ color: oklch(61.1% 0.053 97.4);
Tailwind
colors: {
  custom: {
    50: '#aea78c',
    500: '#8c845f',
    950: '#000000',
  },
}
SCSS
$custom: #8c845f;
$custom-light: #aea78c;
$custom-dark: #000000;
JSON
{
  "hex": "#8c845f",
  "rgb": {
    "r": 140,
    "g": 132,
    "b": 95
  },
  "hsl": {
    "h": 49.333,
    "s": 19.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.61081,
    "c": 0.05329,
    "h": 97.4
  },
  "luminance": 0.22904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C845F

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

Preview Lab → · Contrast checker → · Palette generator →

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