#8A8A72#8A8A72

#8A8A72 is a light, muted yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.035 H 107.4°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8A8A72
RGBrgb(138, 138, 114)
HSLhsl(60, 10%, 49%)
HSVhsv(60, 17%, 54%)
CMYKcmyk(0%, 0%, 17.4%, 45.9%)
CIE-LABlab(56.88, -4.33, 12.89)
CIE-LCHlch(56.88, 13.60, 108.55°)
OKLaboklab(62.67% -0.0103 0.0331)
OKLCHoklch(62.67% 0.035 107.4)
XYZxyz(22.6067, 24.7954, 19.5114)
Luminance0.2480 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A72 #72728A
analogous
#8A7E72 #8A8A72 #7E8A72
triadic
#8A8A72 #728A8A #8A728A
tetradic
#8A8A72 #728A7E #72728A #8A727E
square
#8A8A72 #728A7E #72728A #8A727E
split-complementary
#8A8A72 #727E8A #7E728A
monochromatic
#47473B #686856 #8A8A72 #A6A693 #C2C2B5

Accessibility & contrast

On white

3.52
#8A8A72 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#8A8A72 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A72
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A72#FFFFFF#000000##000000
##8A8A721.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8871
Deuteranopia (green-blind)
#8F8973
Tritanopia (blue-blind)
#8E8783
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8a72;
/* rgb */ color: rgb(138, 138, 114);
/* oklch */ color: oklch(62.7% 0.035 107.4);
Tailwind
colors: {
  custom: {
    50: '#acac9a',
    500: '#8a8a72',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a72;
$custom-light: #acac9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a72",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 114
  },
  "hsl": {
    "h": 60,
    "s": 9.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.62669,
    "c": 0.0347,
    "h": 107.4
  },
  "luminance": 0.24795
}

Semantic roles & 50–950 ramp

primary
#8A8A72
secondary
#A6A6B1
accent
#75B375
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8A8A72

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

Preview Lab → · Contrast checker → · Palette generator →

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