#97A171#97A171

#97A171 is a light, moderate yellow-green. Relative luminance 0.333; OKLCH L 68.9% C 0.068 H 117.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#97A171
RGBrgb(151, 161, 113)
HSLhsl(73, 20%, 54%)
HSVhsv(73, 30%, 63%)
CMYKcmyk(6.2%, 0%, 29.8%, 36.9%)
CIE-LABlab(64.37, -11.82, 23.87)
CIE-LCHlch(64.37, 26.64, 116.34°)
OKLaboklab(68.87% -0.0315 0.0598)
OKLCHoklch(68.87% 0.068 117.8)
XYZxyz(28.4879, 33.2614, 20.5389)
Luminance0.3326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A171 #7B71A1
analogous
#A19371 #97A171 #7FA171
triadic
#97A171 #7197A1 #A17197
tetradic
#97A171 #71A193 #7B71A1 #A1717F
square
#97A171 #71A193 #7B71A1 #A1717F
split-complementary
#97A171 #717FA1 #9371A1
monochromatic
#555B3C #778055 #97A171 #B2B996 #CDD2BB

Accessibility & contrast

On white

2.74
#97A171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#97A171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A171
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A171#FFFFFF#000000##000000
##97A1711.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79C6E
Deuteranopia (green-blind)
#A69C73
Tritanopia (blue-blind)
#9C9C94
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #97a171;
/* rgb */ color: rgb(151, 161, 113);
/* oklch */ color: oklch(68.9% 0.068 117.8);
Tailwind
colors: {
  custom: {
    50: '#b6bc9a',
    500: '#97a171',
    950: '#000000',
  },
}
SCSS
$custom: #97a171;
$custom-light: #b6bc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#97a171",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 113
  },
  "hsl": {
    "h": 72.5,
    "s": 20.339,
    "l": 53.725
  },
  "oklch": {
    "l": 0.68867,
    "c": 0.0676,
    "h": 117.8
  },
  "luminance": 0.33261
}

Semantic roles & 50–950 ramp

primary
#97A171
secondary
#B1ADC1
accent
#6BBD7C
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11120E
muted
#80817E

Preview Lab

Preview with #97A171

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

Preview Lab → · Contrast checker → · Palette generator →

#97A171 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva