#8A8772#8A8772

#8A8772 is a light, muted yellow. Relative luminance 0.239; OKLCH L 62.0% C 0.031 H 100.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8A8772
RGBrgb(138, 135, 114)
HSLhsl(53, 10%, 49%)
HSVhsv(53, 17%, 54%)
CMYKcmyk(0%, 2.2%, 17.4%, 45.9%)
CIE-LABlab(56.03, -2.65, 11.71)
CIE-LCHlch(56.03, 12.01, 102.75°)
OKLaboklab(62.01% -0.0056 0.0302)
OKLCHoklch(62.01% 0.031 100.5)
XYZxyz(22.1823, 23.9464, 19.3699)
Luminance0.2395 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8772 #72758A
analogous
#8A7B72 #8A8772 #818A72
triadic
#8A8772 #728A87 #87728A
tetradic
#8A8772 #728A7B #72758A #8A7281
square
#8A8772 #728A7B #72758A #8A7281
split-complementary
#8A8772 #72818A #7B728A
monochromatic
#47453B #686656 #8A8772 #A6A493 #C2C0B5

Accessibility & contrast

On white

3.63
#8A8772 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8A8772 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8772
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8772#FFFFFF#000000##000000
##8A87721.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8571
Deuteranopia (green-blind)
#8C8773
Tritanopia (blue-blind)
#8E8481
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8772;
/* rgb */ color: rgb(138, 135, 114);
/* oklch */ color: oklch(62.0% 0.031 100.5);
Tailwind
colors: {
  custom: {
    50: '#aca99a',
    500: '#8a8772',
    950: '#000000',
  },
}
SCSS
$custom: #8a8772;
$custom-light: #aca99a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8772",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 114
  },
  "hsl": {
    "h": 52.5,
    "s": 9.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.62005,
    "c": 0.0307,
    "h": 100.5
  },
  "luminance": 0.23946
}

Semantic roles & 50–950 ramp

primary
#8A8772
secondary
#A6A8B1
accent
#7DB375
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8A8772

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

Preview Lab → · Contrast checker → · Palette generator →

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