#8A8472#8A8472

#8A8472 is a mid, muted yellow. Relative luminance 0.231; OKLCH L 61.3% C 0.027 H 91.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A8472
RGBrgb(138, 132, 114)
HSLhsl(45, 10%, 49%)
HSVhsv(45, 17%, 54%)
CMYKcmyk(0%, 4.3%, 17.4%, 45.9%)
CIE-LABlab(55.20, -0.96, 10.54)
CIE-LCHlch(55.20, 10.58, 95.22°)
OKLaboklab(61.35% -0.0008 0.0272)
OKLCHoklch(61.35% 0.027 91.7)
XYZxyz(21.7696, 23.1210, 19.2323)
Luminance0.2312 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8472 #72788A
analogous
#8A7872 #8A8472 #848A72
triadic
#8A8472 #728A84 #84728A
tetradic
#8A8472 #728A78 #72788A #8A7284
square
#8A8472 #728A78 #72788A #8A7284
split-complementary
#8A8472 #72848A #78728A
monochromatic
#47443B #686456 #8A8472 #A6A193 #C2BEB5

Accessibility & contrast

On white

3.73
#8A8472 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8A8472 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8472
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8472#FFFFFF#000000##000000
##8A84721.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#888371
Deuteranopia (green-blind)
#8A8573
Tritanopia (blue-blind)
#8E817F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a8472;
/* rgb */ color: rgb(138, 132, 114);
/* oklch */ color: oklch(61.3% 0.027 91.7);
Tailwind
colors: {
  custom: {
    50: '#aca79a',
    500: '#8a8472',
    950: '#000000',
  },
}
SCSS
$custom: #8a8472;
$custom-light: #aca79a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8472",
  "rgb": {
    "r": 138,
    "g": 132,
    "b": 114
  },
  "hsl": {
    "h": 45,
    "s": 9.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.61345,
    "c": 0.02724,
    "h": 91.7
  },
  "luminance": 0.23121
}

Semantic roles & 50–950 ramp

primary
#8A8472
secondary
#A6A9B1
accent
#85B375
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#100F0E
muted
#7F7F7E

Preview Lab

Preview with #8A8472

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

Preview Lab → · Contrast checker → · Palette generator →

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