#97D172#97D172

#97D172 is a light, vivid yellow-green. Relative luminance 0.534; OKLCH L 79.9% C 0.139 H 134.3°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#97D172
RGBrgb(151, 209, 114)
HSLhsl(97, 51%, 63%)
HSVhsv(97, 45%, 82%)
CMYKcmyk(27.8%, 0%, 45.5%, 18%)
CIE-LABlab(78.11, -35.36, 41.12)
CIE-LCHlch(78.11, 54.24, 130.69°)
OKLaboklab(79.9% -0.0973 0.0997)
OKLCHoklch(79.9% 0.139 134.3)
XYZxyz(38.5994, 53.3939, 24.1887)
Luminance0.5340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97D172 #AC72D1
analogous
#C6D172 #97D172 #72D17C
triadic
#97D172 #7297D1 #D17297
tetradic
#97D172 #72C6D1 #AC72D1 #D17C72
square
#97D172 #72C6D1 #AC72D1 #D17C72
split-complementary
#97D172 #7C72D1 #D172C6
monochromatic
#599731 #75C244 #97D172 #B9E0A0 #DBEFCE

Accessibility & contrast

On white

1.80
#97D172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#97D172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97D172
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97D172#FFFFFF#000000##000000
##97D1721.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C46A
Deuteranopia (green-blind)
#CFBF78
Tritanopia (blue-blind)
#97CBBA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #97d172;
/* rgb */ color: rgb(151, 209, 114);
/* oklch */ color: oklch(79.9% 0.139 134.3);
Tailwind
colors: {
  custom: {
    50: '#b8df9c',
    500: '#97d172',
    950: '#000000',
  },
}
SCSS
$custom: #97d172;
$custom-light: #b8df9c;
$custom-dark: #000000;
JSON
{
  "hex": "#97d172",
  "rgb": {
    "r": 151,
    "g": 209,
    "b": 114
  },
  "hsl": {
    "h": 96.632,
    "s": 50.802,
    "l": 63.333
  },
  "oklch": {
    "l": 0.79903,
    "c": 0.13935,
    "h": 134.3
  },
  "luminance": 0.53395
}

Semantic roles & 50–950 ramp

primary
#97D172
secondary
#7D4A9D
accent
#27BE83
background
#FDFEFC
surface
#F8FCF5
border
#D1D5CF
text
#11150E
muted
#81847F

Preview Lab

Preview with #97D172

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

Preview Lab → · Contrast checker → · Palette generator →

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