#97D951#97D951

#97D951 is a light, vivid yellow-green. Relative luminance 0.568; OKLCH L 81.4% C 0.180 H 131.4°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#97D951
RGBrgb(151, 217, 81)
HSLhsl(89, 64%, 58%)
HSVhsv(89, 63%, 85%)
CMYKcmyk(30.4%, 0%, 62.7%, 14.9%)
CIE-LABlab(80.07, -42.34, 58.60)
CIE-LCHlch(80.07, 72.29, 125.85°)
OKLaboklab(81.38% -0.1189 0.135)
OKLCHoklch(81.38% 0.18 131.4)
XYZxyz(39.0601, 56.7978, 16.6881)
Luminance0.5680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97D951 #9351D9
analogous
#D9D751 #97D951 #53D951
triadic
#97D951 #5197D9 #D95197
tetradic
#97D951 #51D9D7 #9351D9 #D95153
square
#97D951 #51D9D7 #9351D9 #D95153
split-complementary
#97D951 #5153D9 #D751D9
monochromatic
#59901F #79C22A #97D951 #B5E483 #D3EFB5

Accessibility & contrast

On white

1.70
#97D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#97D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97D951
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97D951#FFFFFF#000000##000000
##97D9511.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA40
Deuteranopia (green-blind)
#D9C55C
Tritanopia (blue-blind)
#99D0BD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #97d951;
/* rgb */ color: rgb(151, 217, 81);
/* oklch */ color: oklch(81.4% 0.180 131.4);
Tailwind
colors: {
  custom: {
    50: '#b9e587',
    500: '#97d951',
    950: '#000000',
  },
}
SCSS
$custom: #97d951;
$custom-light: #b9e587;
$custom-dark: #000000;
JSON
{
  "hex": "#97d951",
  "rgb": {
    "r": 151,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 89.118,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81377,
    "c": 0.17992,
    "h": 131.4
  },
  "luminance": 0.56799
}

Semantic roles & 50–950 ramp

primary
#97D951
secondary
#663995
accent
#41E791
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #97D951

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

Preview Lab → · Contrast checker → · Palette generator →

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