#97D798#97D798

#97D798 is a light, moderate green. Relative luminance 0.574; OKLCH L 82.0% C 0.109 H 144.9°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#97D798
RGBrgb(151, 215, 152)
HSLhsl(121, 44%, 72%)
HSVhsv(121, 30%, 84%)
CMYKcmyk(29.8%, 0%, 29.3%, 15.7%)
CIE-LABlab(80.43, -32.62, 24.79)
CIE-LCHlch(80.43, 40.97, 142.77°)
OKLaboklab(81.98% -0.089 0.0626)
OKLCHoklch(81.98% 0.109 144.9)
XYZxyz(42.7286, 57.4454, 38.5364)
Luminance0.5745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97D798 #D797D6
analogous
#B6D797 #97D798 #97D7B8
triadic
#97D798 #9897D7 #D79897
tetradic
#97D798 #97B6D7 #D797D6 #D7B897
square
#97D798 #97B6D7 #D797D6 #D7B897
split-complementary
#97D798 #B897D7 #D797B6
monochromatic
#44B045 #6BC66C #97D798 #C3E8C4 #E9F6E9

Accessibility & contrast

On white

1.68
#97D798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#97D798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97D798
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97D798#FFFFFF#000000##000000
##97D7981.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DACC94
Deuteranopia (green-blind)
#CFC59B
Tritanopia (blue-blind)
#90D3C6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #97d798;
/* rgb */ color: rgb(151, 215, 152);
/* oklch */ color: oklch(82.0% 0.109 144.9);
Tailwind
colors: {
  custom: {
    50: '#b7e3b6',
    500: '#97d798',
    950: '#000000',
  },
}
SCSS
$custom: #97d798;
$custom-light: #b7e3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#97d798",
  "rgb": {
    "r": 151,
    "g": 215,
    "b": 152
  },
  "hsl": {
    "h": 120.938,
    "s": 44.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.81977,
    "c": 0.10885,
    "h": 144.9
  },
  "luminance": 0.57447
}

Semantic roles & 50–950 ramp

primary
#97D798
secondary
#AE64AD
accent
#2EB5B8
background
#FDFEFD
surface
#F8FCF8
border
#D1D5D1
text
#111511
muted
#818481

Preview Lab

Preview with #97D798

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

Preview Lab → · Contrast checker → · Palette generator →

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