#97DF51#97DF51

#97DF51 is a very light, vivid yellow-green. Relative luminance 0.599; OKLCH L 82.8% C 0.188 H 132.2°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#97DF51
RGBrgb(151, 223, 81)
HSLhsl(90, 69%, 60%)
HSVhsv(90, 64%, 87%)
CMYKcmyk(32.3%, 0%, 63.7%, 12.5%)
CIE-LABlab(81.81, -44.93, 60.49)
CIE-LCHlch(81.81, 75.35, 126.60°)
OKLaboklab(82.8% -0.126 0.139)
OKLCHoklch(82.8% 0.188 132.2)
XYZxyz(40.6348, 59.9473, 17.2130)
Luminance0.5995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97DF51 #9951DF
analogous
#DEDF51 #97DF51 #51DF52
triadic
#97DF51 #5197DF #DF5197
tetradic
#97DF51 #51DEDF #9951DF #DF5251
square
#97DF51 #51DEDF #9951DF #DF5251
split-complementary
#97DF51 #5251DF #DF51DE
monochromatic
#5A991C #78CD26 #97DF51 #B6E985 #D5F2B8

Accessibility & contrast

On white

1.62
#97DF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#97DF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97DF51
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97DF51#FFFFFF#000000##000000
##97DF511.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF3F
Deuteranopia (green-blind)
#DEC95C
Tritanopia (blue-blind)
#99D6C2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #97df51;
/* rgb */ color: rgb(151, 223, 81);
/* oklch */ color: oklch(82.8% 0.188 132.2);
Tailwind
colors: {
  custom: {
    50: '#bae988',
    500: '#97df51',
    950: '#000000',
  },
}
SCSS
$custom: #97df51;
$custom-light: #bae988;
$custom-dark: #000000;
JSON
{
  "hex": "#97df51",
  "rgb": {
    "r": 151,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 90.423,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82795,
    "c": 0.18763,
    "h": 132.2
  },
  "luminance": 0.59949
}

Semantic roles & 50–950 ramp

primary
#97DF51
secondary
#6B379D
accent
#3CEC95
background
#FDFEFC
surface
#F9FDF4
border
#D2D5CE
text
#12160C
muted
#82847F

Preview Lab

Preview with #97DF51

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

Preview Lab → · Contrast checker → · Palette generator →

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