#8A8972#8A8972

#8A8972 is a light, muted yellow. Relative luminance 0.245; OKLCH L 62.4% C 0.033 H 105.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8A8972
RGBrgb(138, 137, 114)
HSLhsl(58, 10%, 49%)
HSVhsv(58, 17%, 54%)
CMYKcmyk(0%, 0.7%, 17.4%, 45.9%)
CIE-LABlab(56.59, -3.77, 12.50)
CIE-LCHlch(56.59, 13.05, 106.78°)
OKLaboklab(62.45% -0.0088 0.0321)
OKLCHoklch(62.45% 0.033 105.3)
XYZxyz(22.4639, 24.5097, 19.4638)
Luminance0.2451 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8972 #72738A
analogous
#8A7D72 #8A8972 #7F8A72
triadic
#8A8972 #728A89 #89728A
tetradic
#8A8972 #728A7D #72738A #8A727F
square
#8A8972 #728A7D #72738A #8A727F
split-complementary
#8A8972 #727F8A #7D728A
monochromatic
#47463B #686856 #8A8972 #A6A593 #C2C1B5

Accessibility & contrast

On white

3.56
#8A8972 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#8A8972 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8972
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8972#FFFFFF#000000##000000
##8A89721.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8771
Deuteranopia (green-blind)
#8E8873
Tritanopia (blue-blind)
#8E8683
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8972;
/* rgb */ color: rgb(138, 137, 114);
/* oklch */ color: oklch(62.4% 0.033 105.3);
Tailwind
colors: {
  custom: {
    50: '#acab9a',
    500: '#8a8972',
    950: '#000000',
  },
}
SCSS
$custom: #8a8972;
$custom-light: #acab9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8972",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 114
  },
  "hsl": {
    "h": 57.5,
    "s": 9.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.62447,
    "c": 0.03332,
    "h": 105.3
  },
  "luminance": 0.24509
}

Semantic roles & 50–950 ramp

primary
#8A8972
secondary
#A6A7B1
accent
#78B375
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8A8972

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

Preview Lab → · Contrast checker → · Palette generator →

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