#97C871#97C871

#97C871 is a light, vivid yellow-green. Relative luminance 0.491; OKLCH L 77.8% C 0.127 H 132.7°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#97C871
RGBrgb(151, 200, 113)
HSLhsl(94, 44%, 61%)
HSVhsv(94, 44%, 78%)
CMYKcmyk(24.5%, 0%, 43.5%, 21.6%)
CIE-LABlab(75.50, -31.31, 38.35)
CIE-LCHlch(75.50, 49.51, 129.23°)
OKLaboklab(77.79% -0.0861 0.0934)
OKLCHoklch(77.79% 0.127 132.7)
XYZxyz(36.3967, 49.0792, 23.1752)
Luminance0.4908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C871 #A271C8
analogous
#C3C871 #97C871 #71C877
triadic
#97C871 #7197C8 #C87197
tetradic
#97C871 #71C3C8 #A271C8 #C87771
square
#97C871 #71C3C8 #A271C8 #C87771
split-complementary
#97C871 #7771C8 #C871C3
monochromatic
#5A8935 #77B646 #97C871 #B7D99D #D8EAC9

Accessibility & contrast

On white

1.94
#97C871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#97C871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97C871
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97C871#FFFFFF#000000##000000
##97C8711.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBD6A
Deuteranopia (green-blind)
#C7B976
Tritanopia (blue-blind)
#98C2B3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #97c871;
/* rgb */ color: rgb(151, 200, 113);
/* oklch */ color: oklch(77.8% 0.127 132.7);
Tailwind
colors: {
  custom: {
    50: '#b7d99b',
    500: '#97c871',
    950: '#000000',
  },
}
SCSS
$custom: #97c871;
$custom-light: #b7d99b;
$custom-dark: #000000;
JSON
{
  "hex": "#97c871",
  "rgb": {
    "r": 151,
    "g": 200,
    "b": 113
  },
  "hsl": {
    "h": 93.793,
    "s": 44.162,
    "l": 61.373
  },
  "oklch": {
    "l": 0.77792,
    "c": 0.12707,
    "h": 132.7
  },
  "luminance": 0.4908
}

Semantic roles & 50–950 ramp

primary
#97C871
secondary
#CCBADB
accent
#2EB77B
background
#FBFDF9
surface
#F6FAF2
border
#D0D3CC
text
#11140E
muted
#80837E

Preview Lab

Preview with #97C871

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

Preview Lab → · Contrast checker → · Palette generator →

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