#8A845F#8A845F

#8A845F is a mid, muted yellow. Relative luminance 0.227; OKLCH L 60.9% C 0.053 H 100.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8A845F
RGBrgb(138, 132, 95)
HSLhsl(52, 18%, 46%)
HSVhsv(52, 31%, 54%)
CMYKcmyk(0%, 4.3%, 31.2%, 45.9%)
CIE-LABlab(54.80, -3.85, 20.84)
CIE-LCHlch(54.80, 21.19, 100.48°)
OKLaboklab(60.9% -0.0092 0.0522)
OKLCHoklch(60.9% 0.053 100)
XYZxyz(20.7982, 22.7325, 14.1165)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A845F #5F658A
analogous
#8A6E5F #8A845F #7A8A5F
triadic
#8A845F #5F8A84 #845F8A
tetradic
#8A845F #5F8A6E #5F658A #8A5F7A
square
#8A845F #5F8A6E #5F658A #8A5F7A
split-complementary
#8A845F #5F7A8A #6E5F8A
monochromatic
#423F2D #666146 #8A845F #A7A17F #C0BCA3

Accessibility & contrast

On white

3.79
#8A845F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8A845F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A845F
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A845F#FFFFFF#000000##000000
##8A845F1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B825D
Deuteranopia (green-blind)
#8D8460
Tritanopia (blue-blind)
#907F7A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a845f;
/* rgb */ color: rgb(138, 132, 95);
/* oklch */ color: oklch(60.9% 0.053 100.0);
Tailwind
colors: {
  custom: {
    50: '#aca78c',
    500: '#8a845f',
    950: '#000000',
  },
}
SCSS
$custom: #8a845f;
$custom-light: #aca78c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a845f",
  "rgb": {
    "r": 138,
    "g": 132,
    "b": 95
  },
  "hsl": {
    "h": 51.628,
    "s": 18.455,
    "l": 45.686
  },
  "oklch": {
    "l": 0.60896,
    "c": 0.05302,
    "h": 100
  },
  "luminance": 0.22732
}

Semantic roles & 50–950 ramp

primary
#8A845F
secondary
#969AAE
accent
#78BB6D
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#100F0C
muted
#7F7F7D

Preview Lab

Preview with #8A845F

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

Preview Lab → · Contrast checker → · Palette generator →

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