#97CF52#97CF52

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

Color values

HEX#97CF52
RGBrgb(151, 207, 82)
HSLhsl(87, 57%, 57%)
HSVhsv(87, 60%, 81%)
CMYKcmyk(27.1%, 0%, 60.4%, 18.8%)
CIE-LABlab(77.17, -37.84, 54.98)
CIE-LCHlch(77.17, 66.74, 124.53°)
OKLaboklab(79.03% -0.1064 0.1275)
OKLCHoklch(79.03% 0.166 129.9)
XYZxyz(36.5980, 51.8132, 16.0537)
Luminance0.5181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97CF52 #8A52CF
analogous
#CFC952 #97CF52 #59CF52
triadic
#97CF52 #5297CF #CF5297
tetradic
#97CF52 #52CFC9 #8A52CF #CF5259
square
#97CF52 #52CFC9 #8A52CF #CF5259
split-complementary
#97CF52 #5259CF #C952CF
monochromatic
#588224 #79B231 #97CF52 #B4DC82 #D1EAB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97CF52#FFFFFF#000000##000000
##97CF521.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)
#D8C144
Deuteranopia (green-blind)
#D0BD5B
Tritanopia (blue-blind)
#9BC7B4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #97cf52;
/* rgb */ color: rgb(151, 207, 82);
/* oklch */ color: oklch(79.0% 0.166 129.9);
Tailwind
colors: {
  custom: {
    50: '#b9de87',
    500: '#97cf52',
    950: '#000000',
  },
}
SCSS
$custom: #97cf52;
$custom-light: #b9de87;
$custom-dark: #000000;
JSON
{
  "hex": "#97cf52",
  "rgb": {
    "r": 151,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 86.88,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79027,
    "c": 0.16605,
    "h": 129.9
  },
  "luminance": 0.51814
}

Semantic roles & 50–950 ramp

primary
#97CF52
secondary
#5F3C8A
accent
#48E08C
background
#FDFEFC
surface
#F8FCF3
border
#D1D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #97CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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