#8C845E#8C845E

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

Color values

HEX#8C845E
RGBrgb(140, 132, 94)
HSLhsl(50, 20%, 46%)
HSVhsv(50, 33%, 55%)
CMYKcmyk(0%, 5.7%, 32.9%, 45.1%)
CIE-LABlab(54.96, -3.15, 21.65)
CIE-LCHlch(54.96, 21.87, 98.29°)
OKLaboklab(61.06% -0.0073 0.0541)
OKLCHoklch(61.06% 0.055 97.7)
XYZxyz(21.0871, 22.8867, 13.8943)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C845E #5E668C
analogous
#8C6D5E #8C845E #7D8C5E
triadic
#8C845E #5E8C84 #845E8C
tetradic
#8C845E #5E8C6D #5E668C #8C5E7D
square
#8C845E #5E8C6D #5E668C #8C5E7D
split-complementary
#8C845E #5E7D8C #6D5E8C
monochromatic
#433F2D #676145 #8C845E #A9A17E #C1BCA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C845E#FFFFFF#000000##000000
##8C845E1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B825B
Deuteranopia (green-blind)
#8E855F
Tritanopia (blue-blind)
#937F7A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8c845e;
/* rgb */ color: rgb(140, 132, 94);
/* oklch */ color: oklch(61.1% 0.055 97.7);
Tailwind
colors: {
  custom: {
    50: '#aea78c',
    500: '#8c845e',
    950: '#000000',
  },
}
SCSS
$custom: #8c845e;
$custom-light: #aea78c;
$custom-dark: #000000;
JSON
{
  "hex": "#8c845e",
  "rgb": {
    "r": 140,
    "g": 132,
    "b": 94
  },
  "hsl": {
    "h": 49.565,
    "s": 19.658,
    "l": 45.882
  },
  "oklch": {
    "l": 0.6106,
    "c": 0.05459,
    "h": 97.7
  },
  "luminance": 0.22886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C845E

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

Preview Lab → · Contrast checker → · Palette generator →

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