#97B172#97B172

#97B172 is a light, moderate yellow-green. Relative luminance 0.392; OKLCH L 72.5% C 0.091 H 126.8°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#97B172
RGBrgb(151, 177, 114)
HSLhsl(85, 29%, 57%)
HSVhsv(85, 36%, 69%)
CMYKcmyk(14.7%, 0%, 35.6%, 30.6%)
CIE-LABlab(68.92, -19.96, 29.36)
CIE-LCHlch(68.92, 35.50, 124.20°)
OKLaboklab(72.51% -0.0544 0.0728)
OKLCHoklch(72.51% 0.091 126.8)
XYZxyz(31.5215, 39.2382, 21.8294)
Luminance0.3924 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B172 #8C72B1
analogous
#B1AC72 #97B172 #78B172
triadic
#97B172 #7297B1 #B17297
tetradic
#97B172 #72B1AC #8C72B1 #B17278
square
#97B172 #72B1AC #8C72B1 #B17278
split-complementary
#97B172 #7278B1 #AC72B1
monochromatic
#596D3C #799452 #97B172 #B4C799 #D1DDC1

Accessibility & contrast

On white

2.37
#97B172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#97B172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B172
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B172#FFFFFF#000000##000000
##97B1721.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A96E
Deuteranopia (green-blind)
#B4A875
Tritanopia (blue-blind)
#9AABA1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97b172;
/* rgb */ color: rgb(151, 177, 114);
/* oklch */ color: oklch(72.5% 0.091 126.8);
Tailwind
colors: {
  custom: {
    50: '#b6c89b',
    500: '#97b172',
    950: '#000000',
  },
}
SCSS
$custom: #97b172;
$custom-light: #b6c89b;
$custom-dark: #000000;
JSON
{
  "hex": "#97b172",
  "rgb": {
    "r": 151,
    "g": 177,
    "b": 114
  },
  "hsl": {
    "h": 84.762,
    "s": 28.767,
    "l": 57.059
  },
  "oklch": {
    "l": 0.72507,
    "c": 0.09087,
    "h": 126.8
  },
  "luminance": 0.39238
}

Semantic roles & 50–950 ramp

primary
#97B172
secondary
#BDB3CC
accent
#63C58B
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#11130E
muted
#80827E

Preview Lab

Preview with #97B172

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

Preview Lab → · Contrast checker → · Palette generator →

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