#97D851#97D851

#97D851 is a light, vivid yellow-green. Relative luminance 0.563; OKLCH L 81.1% C 0.179 H 131.2°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#97D851
RGBrgb(151, 216, 81)
HSLhsl(89, 63%, 58%)
HSVhsv(89, 63%, 85%)
CMYKcmyk(30.1%, 0%, 62.5%, 15.3%)
CIE-LABlab(79.78, -41.90, 58.28)
CIE-LCHlch(79.78, 71.78, 125.72°)
OKLaboklab(81.14% -0.1177 0.1344)
OKLCHoklch(81.14% 0.179 131.2)
XYZxyz(38.8032, 56.2839, 16.6024)
Luminance0.5628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97D851 #9251D8
analogous
#D8D551 #97D851 #53D851
triadic
#97D851 #5197D8 #D85197
tetradic
#97D851 #51D8D5 #9251D8 #D85153
square
#97D851 #51D8D5 #9251D8 #D85153
split-complementary
#97D851 #5153D8 #D551D8
monochromatic
#598F20 #79C12B #97D851 #B5E383 #D3EEB5

Accessibility & contrast

On white

1.71
#97D851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#97D851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97D851
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97D851#FFFFFF#000000##000000
##97D8511.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C941
Deuteranopia (green-blind)
#D8C45B
Tritanopia (blue-blind)
#9ACFBC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #97d851;
/* rgb */ color: rgb(151, 216, 81);
/* oklch */ color: oklch(81.1% 0.179 131.2);
Tailwind
colors: {
  custom: {
    50: '#b9e487',
    500: '#97d851',
    950: '#000000',
  },
}
SCSS
$custom: #97d851;
$custom-light: #b9e487;
$custom-dark: #000000;
JSON
{
  "hex": "#97d851",
  "rgb": {
    "r": 151,
    "g": 216,
    "b": 81
  },
  "hsl": {
    "h": 88.889,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8114,
    "c": 0.17862,
    "h": 131.2
  },
  "luminance": 0.56285
}

Semantic roles & 50–950 ramp

primary
#97D851
secondary
#653994
accent
#41E691
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #97D851

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

Preview Lab → · Contrast checker → · Palette generator →

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