#97DA51#97DA51

#97DA51 is a light, vivid yellow-green. Relative luminance 0.573; OKLCH L 81.6% C 0.181 H 131.5°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#97DA51
RGBrgb(151, 218, 81)
HSLhsl(89, 65%, 59%)
HSVhsv(89, 63%, 85%)
CMYKcmyk(30.7%, 0%, 62.8%, 14.5%)
CIE-LABlab(80.36, -42.77, 58.92)
CIE-LCHlch(80.36, 72.81, 125.98°)
OKLaboklab(81.61% -0.1201 0.1357)
OKLCHoklch(81.61% 0.181 131.5)
XYZxyz(39.3187, 57.3149, 16.7743)
Luminance0.5732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97DA51 #9451DA
analogous
#DAD851 #97DA51 #52DA51
triadic
#97DA51 #5197DA #DA5197
tetradic
#97DA51 #51DAD8 #9451DA #DA5152
square
#97DA51 #51DAD8 #9451DA #DA5152
split-complementary
#97DA51 #5152DA #D851DA
monochromatic
#5A921F #79C42A #97DA51 #B5E583 #D3EFB6

Accessibility & contrast

On white

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

On black

12.46
#97DA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97DA51
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97DA51#FFFFFF#000000##000000
##97DA511.001.6812.4612.46
#FFFFFF1.681.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB40
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#99D1BD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #97da51;
/* rgb */ color: rgb(151, 218, 81);
/* oklch */ color: oklch(81.6% 0.181 131.5);
Tailwind
colors: {
  custom: {
    50: '#bae687',
    500: '#97da51',
    950: '#000000',
  },
}
SCSS
$custom: #97da51;
$custom-light: #bae687;
$custom-dark: #000000;
JSON
{
  "hex": "#97da51",
  "rgb": {
    "r": 151,
    "g": 218,
    "b": 81
  },
  "hsl": {
    "h": 89.343,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81613,
    "c": 0.18121,
    "h": 131.5
  },
  "luminance": 0.57316
}

Semantic roles & 50–950 ramp

primary
#97DA51
secondary
#673997
accent
#40E892
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12160C
muted
#82847F

Preview Lab

Preview with #97DA51

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

Preview Lab → · Contrast checker → · Palette generator →

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