#8A8A71#8A8A71

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

Color values

HEX#8A8A71
RGBrgb(138, 138, 113)
HSLhsl(60, 10%, 49%)
HSVhsv(60, 18%, 54%)
CMYKcmyk(0%, 0%, 18.1%, 45.9%)
CIE-LABlab(56.85, -4.49, 13.43)
CIE-LCHlch(56.85, 14.16, 108.49°)
OKLaboklab(62.64% -0.0108 0.0345)
OKLCHoklch(62.64% 0.036 107.4)
XYZxyz(22.5501, 24.7727, 19.2132)
Luminance0.2477 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A71 #71718A
analogous
#8A7E71 #8A8A71 #7E8A71
triadic
#8A8A71 #718A8A #8A718A
tetradic
#8A8A71 #718A7E #71718A #8A717E
square
#8A8A71 #718A7E #71718A #8A717E
split-complementary
#8A8A71 #717E8A #7E718A
monochromatic
#47473A #686855 #8A8A71 #A6A692 #C2C2B4

Accessibility & contrast

On white

3.53
#8A8A71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8A8A71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A71
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A71#FFFFFF#000000##000000
##8A8A711.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a8a71;
/* rgb */ color: rgb(138, 138, 113);
/* oklch */ color: oklch(62.6% 0.036 107.4);
Tailwind
colors: {
  custom: {
    50: '#acac99',
    500: '#8a8a71',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a71;
$custom-light: #acac99;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a71",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 113
  },
  "hsl": {
    "h": 60,
    "s": 9.96,
    "l": 49.216
  },
  "oklch": {
    "l": 0.62644,
    "c": 0.0361,
    "h": 107.4
  },
  "luminance": 0.24772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8A71

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

Preview Lab → · Contrast checker → · Palette generator →

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