#97B771#97B771

#97B771 is a light, moderate yellow-green. Relative luminance 0.416; OKLCH L 73.9% C 0.101 H 128.6°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#97B771
RGBrgb(151, 183, 113)
HSLhsl(87, 33%, 58%)
HSVhsv(87, 38%, 72%)
CMYKcmyk(17.5%, 0%, 38.3%, 28.2%)
CIE-LABlab(70.62, -23.10, 32.10)
CIE-LCHlch(70.62, 39.55, 125.73°)
OKLaboklab(73.86% -0.0632 0.0791)
OKLCHoklch(73.86% 0.101 128.6)
XYZxyz(32.6762, 41.6381, 21.9350)
Luminance0.4164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B771 #9171B7
analogous
#B7B471 #97B771 #74B771
triadic
#97B771 #7197B7 #B77197
tetradic
#97B771 #71B7B4 #9171B7 #B77174
square
#97B771 #71B7B4 #9171B7 #B77174
split-complementary
#97B771 #7174B7 #B471B7
monochromatic
#59733A #799C4F #97B771 #B5CC9A #D2E0C2

Accessibility & contrast

On white

2.25
#97B771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#97B771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B771
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B771#FFFFFF#000000##000000
##97B7711.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAE6C
Deuteranopia (green-blind)
#B9AC75
Tritanopia (blue-blind)
#9AB1A6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #97b771;
/* rgb */ color: rgb(151, 183, 113);
/* oklch */ color: oklch(73.9% 0.101 128.6);
Tailwind
colors: {
  custom: {
    50: '#b6cc9a',
    500: '#97b771',
    950: '#000000',
  },
}
SCSS
$custom: #97b771;
$custom-light: #b6cc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#97b771",
  "rgb": {
    "r": 151,
    "g": 183,
    "b": 113
  },
  "hsl": {
    "h": 87.429,
    "s": 32.71,
    "l": 58.039
  },
  "oklch": {
    "l": 0.73863,
    "c": 0.10129,
    "h": 128.6
  },
  "luminance": 0.41639
}

Semantic roles & 50–950 ramp

primary
#97B771
secondary
#C1B4D0
accent
#5FC98F
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#11130E
muted
#80827E

Preview Lab

Preview with #97B771

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

Preview Lab → · Contrast checker → · Palette generator →

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