#97CF5B#97CF5B

#97CF5B is a light, vivid yellow-green. Relative luminance 0.520; OKLCH L 79.1% C 0.158 H 130.8°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#97CF5B
RGBrgb(151, 207, 91)
HSLhsl(89, 55%, 58%)
HSVhsv(89, 56%, 81%)
CMYKcmyk(27.1%, 0%, 56%, 18.8%)
CIE-LABlab(77.26, -37.01, 51.07)
CIE-LCHlch(77.26, 63.07, 125.93°)
OKLaboklab(79.13% -0.1034 0.12)
OKLCHoklch(79.13% 0.158 130.8)
XYZxyz(36.9632, 51.9593, 17.9772)
Luminance0.5196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97CF5B #935BCF
analogous
#CFCD5B #97CF5B #5DCF5B
triadic
#97CF5B #5B97CF #CF5B97
tetradic
#97CF5B #5BCFCD #935BCF #CF5B5D
square
#97CF5B #5BCFCD #935BCF #CF5B5D
split-complementary
#97CF5B #5B5DCF #CD5BCF
monochromatic
#598828 #79B736 #97CF5B #B5DD8A #D3EBBA

Accessibility & contrast

On white

1.84
#97CF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#97CF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97CF5B
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97CF5B#FFFFFF#000000##000000
##97CF5B1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C24F
Deuteranopia (green-blind)
#CFBD63
Tritanopia (blue-blind)
#9AC7B5
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #97cf5b;
/* rgb */ color: rgb(151, 207, 91);
/* oklch */ color: oklch(79.1% 0.158 130.8);
Tailwind
colors: {
  custom: {
    50: '#b8de8d',
    500: '#97cf5b',
    950: '#000000',
  },
}
SCSS
$custom: #97cf5b;
$custom-light: #b8de8d;
$custom-dark: #000000;
JSON
{
  "hex": "#97cf5b",
  "rgb": {
    "r": 151,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 88.966,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79126,
    "c": 0.15841,
    "h": 130.8
  },
  "luminance": 0.5196
}

Semantic roles & 50–950 ramp

primary
#97CF5B
secondary
#66408F
accent
#4ADE91
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #97CF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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