#97AB51#97AB51

#97AB51 is a light, moderate yellow-green. Relative luminance 0.363; OKLCH L 70.6% C 0.118 H 119.9°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#97AB51
RGBrgb(151, 171, 81)
HSLhsl(73, 36%, 49%)
HSVhsv(73, 53%, 67%)
CMYKcmyk(11.7%, 0%, 52.6%, 32.9%)
CIE-LABlab(66.75, -20.80, 43.51)
CIE-LCHlch(66.75, 48.22, 115.55°)
OKLaboklab(70.61% -0.0591 0.1027)
OKLCHoklch(70.61% 0.118 119.9)
XYZxyz(28.8109, 36.2993, 13.2717)
Luminance0.3630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AB51 #6551AB
analogous
#AB9251 #97AB51 #6AAB51
triadic
#97AB51 #5197AB #AB5197
tetradic
#97AB51 #51AB92 #6551AB #AB516A
square
#97AB51 #51AB92 #6551AB #AB516A
split-complementary
#97AB51 #516AAB #9251AB
monochromatic
#4E582A #72813D #97AB51 #B0C079 #C9D3A3

Accessibility & contrast

On white

2.54
#97AB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#97AB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AB51
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AB51#FFFFFF#000000##000000
##97AB511.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A349
Deuteranopia (green-blind)
#B2A356
Tritanopia (blue-blind)
#9EA397
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #97ab51;
/* rgb */ color: rgb(151, 171, 81);
/* oklch */ color: oklch(70.6% 0.118 119.9);
Tailwind
colors: {
  custom: {
    50: '#b7c484',
    500: '#97ab51',
    950: '#000000',
  },
}
SCSS
$custom: #97ab51;
$custom-light: #b7c484;
$custom-dark: #000000;
JSON
{
  "hex": "#97ab51",
  "rgb": {
    "r": 151,
    "g": 171,
    "b": 81
  },
  "hsl": {
    "h": 73.333,
    "s": 35.714,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70614,
    "c": 0.11849,
    "h": 119.9
  },
  "luminance": 0.36299
}

Semantic roles & 50–950 ramp

primary
#97AB51
secondary
#A097C1
accent
#5CCC75
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#11120B
muted
#80817C

Preview Lab

Preview with #97AB51

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

Preview Lab → · Contrast checker → · Palette generator →

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