#8A9A71#8A9A71

#8A9A71 is a light, moderate yellow-green. Relative luminance 0.297; OKLCH L 66.3% C 0.061 H 125.3°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8A9A71
RGBrgb(138, 154, 113)
HSLhsl(83, 17%, 52%)
HSVhsv(83, 27%, 60%)
CMYKcmyk(10.4%, 0%, 26.6%, 39.6%)
CIE-LABlab(61.40, -13.19, 19.69)
CIE-LCHlch(61.40, 23.70, 123.81°)
OKLaboklab(66.25% -0.0353 0.0498)
OKLCHoklch(66.25% 0.061 125.3)
XYZxyz(25.0171, 29.7066, 20.0356)
Luminance0.2971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A71 #81719A
analogous
#9A9571 #8A9A71 #769A71
triadic
#8A9A71 #718A9A #9A718A
tetradic
#8A9A71 #719A95 #81719A #9A7176
square
#8A9A71 #719A95 #81719A #9A7176
split-complementary
#8A9A71 #71769A #95719A
monochromatic
#4B543C #6B7856 #8A9A71 #A7B395 #C5CDB9

Accessibility & contrast

On white

3.03
#8A9A71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#8A9A71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9A71
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9A71#FFFFFF#000000##000000
##8A9A711.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F956E
Deuteranopia (green-blind)
#9C9473
Tritanopia (blue-blind)
#8D968F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9a71;
/* rgb */ color: rgb(138, 154, 113);
/* oklch */ color: oklch(66.3% 0.061 125.3);
Tailwind
colors: {
  custom: {
    50: '#acb79a',
    500: '#8a9a71',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a71;
$custom-light: #acb79a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a71",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 113
  },
  "hsl": {
    "h": 83.415,
    "s": 16.872,
    "l": 52.353
  },
  "oklch": {
    "l": 0.66254,
    "c": 0.06105,
    "h": 125.3
  },
  "luminance": 0.29707
}

Semantic roles & 50–950 ramp

primary
#8A9A71
secondary
#B1AABC
accent
#6EBA8C
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10110E
muted
#7F807E

Preview Lab

Preview with #8A9A71

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

Preview Lab → · Contrast checker → · Palette generator →

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