#97CF51#97CF51

#97CF51 is a light, vivid yellow-green. Relative luminance 0.518; OKLCH L 79.0% C 0.167 H 129.8°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#97CF51
RGBrgb(151, 207, 81)
HSLhsl(87, 57%, 56%)
HSVhsv(87, 61%, 81%)
CMYKcmyk(27.1%, 0%, 60.9%, 18.8%)
CIE-LABlab(77.16, -37.92, 55.40)
CIE-LCHlch(77.16, 67.14, 124.39°)
OKLaboklab(79.02% -0.1067 0.1283)
OKLCHoklch(79.02% 0.167 129.8)
XYZxyz(36.5603, 51.7981, 15.8548)
Luminance0.5180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97CF51 #8951CF
analogous
#CFC851 #97CF51 #58CF51
triadic
#97CF51 #5197CF #CF5197
tetradic
#97CF51 #51CFC8 #8951CF #CF5158
square
#97CF51 #51CFC8 #8951CF #CF5158
split-complementary
#97CF51 #5158CF #C851CF
monochromatic
#588224 #79B231 #97CF51 #B4DC81 #D0E9B1

Accessibility & contrast

On white

1.85
#97CF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#97CF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97CF51
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97CF51#FFFFFF#000000##000000
##97CF511.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C143
Deuteranopia (green-blind)
#D0BD5A
Tritanopia (blue-blind)
#9BC7B4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #97cf51;
/* rgb */ color: rgb(151, 207, 81);
/* oklch */ color: oklch(79.0% 0.167 129.8);
Tailwind
colors: {
  custom: {
    50: '#b9de87',
    500: '#97cf51',
    950: '#000000',
  },
}
SCSS
$custom: #97cf51;
$custom-light: #b9de87;
$custom-dark: #000000;
JSON
{
  "hex": "#97cf51",
  "rgb": {
    "r": 151,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 86.667,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79017,
    "c": 0.16686,
    "h": 129.8
  },
  "luminance": 0.51799
}

Semantic roles & 50–950 ramp

primary
#97CF51
secondary
#5E3B89
accent
#48E08B
background
#FDFEFC
surface
#F8FCF3
border
#D1D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #97CF51

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

Preview Lab → · Contrast checker → · Palette generator →

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