#97C951#97C951

#97C951 is a light, vivid yellow-green. Relative luminance 0.489; OKLCH L 77.6% C 0.159 H 128.6°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#97C951
RGBrgb(151, 201, 81)
HSLhsl(85, 53%, 55%)
HSVhsv(85, 60%, 79%)
CMYKcmyk(24.9%, 0%, 59.7%, 21.2%)
CIE-LABlab(75.42, -35.20, 53.46)
CIE-LCHlch(75.42, 64.01, 123.36°)
OKLaboklab(77.61% -0.0992 0.1241)
OKLCHoklch(77.61% 0.159 128.6)
XYZxyz(35.1342, 48.9459, 15.3794)
Luminance0.4895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C951 #8351C9
analogous
#C9BF51 #97C951 #5BC951
triadic
#97C951 #5197C9 #C95197
tetradic
#97C951 #51C9BF #8351C9 #C9515B
square
#97C951 #51C9BF #8351C9 #C9515B
split-complementary
#97C951 #515BC9 #BF51C9
monochromatic
#577A26 #78A934 #97C951 #B3D780 #CFE6AE

Accessibility & contrast

On white

1.95
#97C951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#97C951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97C951
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97C951#FFFFFF#000000##000000
##97C9511.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC44
Deuteranopia (green-blind)
#CBB95A
Tritanopia (blue-blind)
#9BC1AF
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #97c951;
/* rgb */ color: rgb(151, 201, 81);
/* oklch */ color: oklch(77.6% 0.159 128.6);
Tailwind
colors: {
  custom: {
    50: '#b8d986',
    500: '#97c951',
    950: '#000000',
  },
}
SCSS
$custom: #97c951;
$custom-light: #b8d986;
$custom-dark: #000000;
JSON
{
  "hex": "#97c951",
  "rgb": {
    "r": 151,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 85,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77605,
    "c": 0.15892,
    "h": 128.6
  },
  "luminance": 0.48947
}

Semantic roles & 50–950 ramp

primary
#97C951
secondary
#B7A2D4
accent
#4CDC88
background
#FBFDF8
surface
#F6FAF0
border
#D0D3CB
text
#12140B
muted
#81837C

Preview Lab

Preview with #97C951

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

Preview Lab → · Contrast checker → · Palette generator →

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