#97AB5F#97AB5F

#97AB5F is a light, moderate yellow-green. Relative luminance 0.365; OKLCH L 70.8% C 0.104 H 121.2°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#97AB5F
RGBrgb(151, 171, 95)
HSLhsl(76, 31%, 52%)
HSVhsv(76, 44%, 67%)
CMYKcmyk(11.7%, 0%, 44.4%, 32.9%)
CIE-LABlab(66.92, -19.32, 36.72)
CIE-LCHlch(66.92, 41.49, 117.75°)
OKLaboklab(70.81% -0.0537 0.0888)
OKLCHoklch(70.81% 0.104 121.2)
XYZxyz(29.3910, 36.5314, 16.3271)
Luminance0.3653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AB5F #735FAB
analogous
#AB995F #97AB5F #71AB5F
triadic
#97AB5F #5F97AB #AB5F97
tetradic
#97AB5F #5FAB99 #735FAB #AB5F71
square
#97AB5F #5FAB99 #735FAB #AB5F71
split-complementary
#97AB5F #5F71AB #995FAB
monochromatic
#525E31 #768647 #97AB5F #B1C087 #CBD5AF

Accessibility & contrast

On white

2.53
#97AB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#97AB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AB5F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AB5F#FFFFFF#000000##000000
##97AB5F1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A359
Deuteranopia (green-blind)
#B1A363
Tritanopia (blue-blind)
#9DA499
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #97ab5f;
/* rgb */ color: rgb(151, 171, 95);
/* oklch */ color: oklch(70.8% 0.104 121.2);
Tailwind
colors: {
  custom: {
    50: '#b7c48e',
    500: '#97ab5f',
    950: '#000000',
  },
}
SCSS
$custom: #97ab5f;
$custom-light: #b7c48e;
$custom-dark: #000000;
JSON
{
  "hex": "#97ab5f",
  "rgb": {
    "r": 151,
    "g": 171,
    "b": 95
  },
  "hsl": {
    "h": 75.789,
    "s": 31.148,
    "l": 52.157
  },
  "oklch": {
    "l": 0.70812,
    "c": 0.10376,
    "h": 121.2
  },
  "luminance": 0.36531
}

Semantic roles & 50–950 ramp

primary
#97AB5F
secondary
#ABA2C3
accent
#60C77C
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11120C
muted
#80817D

Preview Lab

Preview with #97AB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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