#97C251#97C251

#97C251 is a light, vivid yellow-green. Relative luminance 0.458; OKLCH L 76.0% C 0.150 H 127.1°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#97C251
RGBrgb(151, 194, 81)
HSLhsl(83, 48%, 54%)
HSVhsv(83, 58%, 76%)
CMYKcmyk(22.2%, 0%, 58.2%, 23.9%)
CIE-LABlab(73.39, -31.96, 51.17)
CIE-LCHlch(73.39, 60.34, 121.99°)
OKLaboklab(75.96% -0.0903 0.1192)
OKLCHoklch(75.96% 0.15 127.1)
XYZxyz(33.5394, 45.7564, 14.8478)
Luminance0.4576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C251 #7C51C2
analogous
#C2B551 #97C251 #5FC251
triadic
#97C251 #5197C2 #C25197
tetradic
#97C251 #51C2B5 #7C51C2 #C2515F
square
#97C251 #51C2B5 #7C51C2 #C2515F
split-complementary
#97C251 #515FC2 #B551C2
monochromatic
#557128 #779E37 #97C251 #B2D27E #CDE2AC

Accessibility & contrast

On white

2.07
#97C251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#97C251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97C251
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97C251#FFFFFF#000000##000000
##97C2511.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB645
Deuteranopia (green-blind)
#C5B359
Tritanopia (blue-blind)
#9CBAAA
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #97c251;
/* rgb */ color: rgb(151, 194, 81);
/* oklch */ color: oklch(76.0% 0.150 127.1);
Tailwind
colors: {
  custom: {
    50: '#b8d486',
    500: '#97c251',
    950: '#000000',
  },
}
SCSS
$custom: #97c251;
$custom-light: #b8d486;
$custom-dark: #000000;
JSON
{
  "hex": "#97c251",
  "rgb": {
    "r": 151,
    "g": 194,
    "b": 81
  },
  "hsl": {
    "h": 82.832,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.75962,
    "c": 0.14955,
    "h": 127.1
  },
  "luminance": 0.45757
}

Semantic roles & 50–950 ramp

primary
#97C251
secondary
#B29FD0
accent
#50D884
background
#FBFDF8
surface
#F6FAF0
border
#D0D3CB
text
#12140B
muted
#81837C

Preview Lab

Preview with #97C251

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

Preview Lab → · Contrast checker → · Palette generator →

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