#8C845A#8C845A

#8C845A is a mid, muted yellow. Relative luminance 0.228; OKLCH L 61.0% C 0.060 H 98.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8C845A
RGBrgb(140, 132, 90)
HSLhsl(50, 22%, 45%)
HSVhsv(50, 36%, 55%)
CMYKcmyk(0%, 5.7%, 35.7%, 45.1%)
CIE-LABlab(54.88, -3.68, 23.80)
CIE-LCHlch(54.88, 24.08, 98.79°)
OKLaboklab(60.98% -0.009 0.059)
OKLCHoklch(60.98% 0.06 98.7)
XYZxyz(20.9122, 22.8167, 12.9733)
Luminance0.2282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C845A #5A628C
analogous
#8C6B5A #8C845A #7B8C5A
triadic
#8C845A #5A8C84 #845A8C
tetradic
#8C845A #5A8C6B #5A628C #8C5A7B
square
#8C845A #5A8C6B #5A628C #8C5A7B
split-complementary
#8C845A #5A7B8C #6B5A8C
monochromatic
#413E2A #676142 #8C845A #A9A27A #C1BC9F

Accessibility & contrast

On white

3.77
#8C845A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8C845A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C845A
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C845A#FFFFFF#000000##000000
##8C845A1.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8257
Deuteranopia (green-blind)
#8E855C
Tritanopia (blue-blind)
#937E79
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8c845a;
/* rgb */ color: rgb(140, 132, 90);
/* oklch */ color: oklch(61.0% 0.060 98.7);
Tailwind
colors: {
  custom: {
    50: '#aea789',
    500: '#8c845a',
    950: '#000000',
  },
}
SCSS
$custom: #8c845a;
$custom-light: #aea789;
$custom-dark: #000000;
JSON
{
  "hex": "#8c845a",
  "rgb": {
    "r": 140,
    "g": 132,
    "b": 90
  },
  "hsl": {
    "h": 50.4,
    "s": 21.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.60979,
    "c": 0.05973,
    "h": 98.7
  },
  "luminance": 0.22816
}

Semantic roles & 50–950 ramp

primary
#8C845A
secondary
#9397AF
accent
#77BE6A
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#100F0B
muted
#7F7F7C

Preview Lab

Preview with #8C845A

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

Preview Lab → · Contrast checker → · Palette generator →

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