#97B271#97B271

#97B271 is a light, moderate yellow-green. Relative luminance 0.396; OKLCH L 72.7% C 0.094 H 126.9°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#97B271
RGBrgb(151, 178, 113)
HSLhsl(85, 30%, 57%)
HSVhsv(85, 37%, 70%)
CMYKcmyk(15.2%, 0%, 36.5%, 30.2%)
CIE-LABlab(69.19, -20.60, 30.24)
CIE-LCHlch(69.19, 36.59, 124.26°)
OKLaboklab(72.72% -0.0562 0.0748)
OKLCHoklch(72.72% 0.094 126.9)
XYZxyz(31.6632, 39.6121, 21.5973)
Luminance0.3961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B271 #8C71B2
analogous
#B2AC71 #97B271 #77B271
triadic
#97B271 #7197B2 #B27197
tetradic
#97B271 #71B2AC #8C71B2 #B27177
square
#97B271 #71B2AC #8C71B2 #B27177
split-complementary
#97B271 #7177B2 #AC71B2
monochromatic
#596D3B #799551 #97B271 #B4C899 #D1DDC0

Accessibility & contrast

On white

2.35
#97B271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#97B271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B271
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B271#FFFFFF#000000##000000
##97B2711.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AA6C
Deuteranopia (green-blind)
#B4A874
Tritanopia (blue-blind)
#9AACA2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #97b271;
/* rgb */ color: rgb(151, 178, 113);
/* oklch */ color: oklch(72.7% 0.094 126.9);
Tailwind
colors: {
  custom: {
    50: '#b6c99a',
    500: '#97b271',
    950: '#000000',
  },
}
SCSS
$custom: #97b271;
$custom-light: #b6c99a;
$custom-dark: #000000;
JSON
{
  "hex": "#97b271",
  "rgb": {
    "r": 151,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 84.923,
    "s": 29.68,
    "l": 57.059
  },
  "oklch": {
    "l": 0.72717,
    "c": 0.09359,
    "h": 126.9
  },
  "luminance": 0.39612
}

Semantic roles & 50–950 ramp

primary
#97B271
secondary
#BDB2CD
accent
#62C68B
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#11130E
muted
#80827E

Preview Lab

Preview with #97B271

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

Preview Lab → · Contrast checker → · Palette generator →

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