#97D271#97D271

#97D271 is a light, vivid yellow-green. Relative luminance 0.539; OKLCH L 80.1% C 0.142 H 134.3°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#97D271
RGBrgb(151, 210, 113)
HSLhsl(96, 52%, 63%)
HSVhsv(96, 46%, 82%)
CMYKcmyk(28.1%, 0%, 46.2%, 17.6%)
CIE-LABlab(78.38, -35.95, 41.96)
CIE-LCHlch(78.38, 55.25, 130.58°)
OKLaboklab(80.12% -0.099 0.1016)
OKLCHoklch(80.12% 0.142 134.3)
XYZxyz(38.7889, 53.8635, 23.9726)
Luminance0.5386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97D271 #AC71D2
analogous
#C7D271 #97D271 #71D27B
triadic
#97D271 #7197D2 #D27197
tetradic
#97D271 #71C7D2 #AC71D2 #D27B71
square
#97D271 #71C7D2 #AC71D2 #D27B71
split-complementary
#97D271 #7B71D2 #D271C7
monochromatic
#599830 #75C343 #97D271 #B9E19F #DBEFCE

Accessibility & contrast

On white

1.78
#97D271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#97D271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97D271
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97D271#FFFFFF#000000##000000
##97D2711.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C569
Deuteranopia (green-blind)
#D0C077
Tritanopia (blue-blind)
#97CBBB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #97d271;
/* rgb */ color: rgb(151, 210, 113);
/* oklch */ color: oklch(80.1% 0.142 134.3);
Tailwind
colors: {
  custom: {
    50: '#b8e09b',
    500: '#97d271',
    950: '#000000',
  },
}
SCSS
$custom: #97d271;
$custom-light: #b8e09b;
$custom-dark: #000000;
JSON
{
  "hex": "#97d271",
  "rgb": {
    "r": 151,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 96.495,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.80122,
    "c": 0.14181,
    "h": 134.3
  },
  "luminance": 0.53865
}

Semantic roles & 50–950 ramp

primary
#97D271
secondary
#7D4A9E
accent
#26BF83
background
#FDFEFC
surface
#F8FCF5
border
#D1D5CF
text
#12150E
muted
#82847F

Preview Lab

Preview with #97D271

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

Preview Lab → · Contrast checker → · Palette generator →

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