#97D251#97D251

#97D251 is a light, vivid yellow-green. Relative luminance 0.533; OKLCH L 79.7% C 0.171 H 130.3°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#97D251
RGBrgb(151, 210, 81)
HSLhsl(87, 59%, 57%)
HSVhsv(87, 61%, 82%)
CMYKcmyk(28.1%, 0%, 61.4%, 17.6%)
CIE-LABlab(78.03, -39.26, 56.37)
CIE-LCHlch(78.03, 68.69, 124.86°)
OKLaboklab(79.72% -0.1104 0.1303)
OKLCHoklch(79.72% 0.171 130.3)
XYZxyz(37.2940, 53.2655, 16.0994)
Luminance0.5327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97D251 #8C51D2
analogous
#D2CD51 #97D251 #57D251
triadic
#97D251 #5197D2 #D25197
tetradic
#97D251 #51D2CD #8C51D2 #D25157
square
#97D251 #51D2CD #8C51D2 #D25157
split-complementary
#97D251 #5157D2 #CD51D2
monochromatic
#598623 #79B72F #97D251 #B4DF82 #D1EBB2

Accessibility & contrast

On white

1.80
#97D251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#97D251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97D251
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97D251#FFFFFF#000000##000000
##97D2511.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC442
Deuteranopia (green-blind)
#D3BF5B
Tritanopia (blue-blind)
#9ACAB7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #97d251;
/* rgb */ color: rgb(151, 210, 81);
/* oklch */ color: oklch(79.7% 0.171 130.3);
Tailwind
colors: {
  custom: {
    50: '#b9e087',
    500: '#97d251',
    950: '#000000',
  },
}
SCSS
$custom: #97d251;
$custom-light: #b9e087;
$custom-dark: #000000;
JSON
{
  "hex": "#97d251",
  "rgb": {
    "r": 151,
    "g": 210,
    "b": 81
  },
  "hsl": {
    "h": 87.442,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79724,
    "c": 0.17081,
    "h": 130.3
  },
  "luminance": 0.53267
}

Semantic roles & 50–950 ramp

primary
#97D251
secondary
#603B8D
accent
#46E28D
background
#FDFEFC
surface
#F8FCF3
border
#D1D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #97D251

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

Preview Lab → · Contrast checker → · Palette generator →

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