#97AB40#97AB40

#97AB40 is a light, vivid yellow-green. Relative luminance 0.361; OKLCH L 70.4% C 0.134 H 119.0°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#97AB40
RGBrgb(151, 171, 64)
HSLhsl(71, 46%, 46%)
HSVhsv(71, 63%, 67%)
CMYKcmyk(11.7%, 0%, 62.6%, 32.9%)
CIE-LABlab(66.58, -22.25, 51.17)
CIE-LCHlch(66.58, 55.80, 113.50°)
OKLaboklab(70.42% -0.0649 0.1172)
OKLCHoklch(70.42% 0.134 119)
XYZxyz(28.2513, 36.0755, 10.3245)
Luminance0.3608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AB40 #5440AB
analogous
#AB8940 #97AB40 #61AB40
triadic
#97AB40 #4097AB #AB4097
tetradic
#97AB40 #40AB89 #5440AB #AB4061
square
#97AB40 #40AB89 #5440AB #AB4061
split-complementary
#97AB40 #4061AB #8940AB
monochromatic
#48521F #707E2F #97AB40 #B3C563 #C8D590

Accessibility & contrast

On white

2.56
#97AB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#97AB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AB40
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AB40#FFFFFF#000000##000000
##97AB401.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A233
Deuteranopia (green-blind)
#B3A247
Tritanopia (blue-blind)
#9FA295
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #97ab40;
/* rgb */ color: rgb(151, 171, 64);
/* oklch */ color: oklch(70.4% 0.134 119.0);
Tailwind
colors: {
  custom: {
    50: '#b8c47a',
    500: '#97ab40',
    950: '#000000',
  },
}
SCSS
$custom: #97ab40;
$custom-light: #b8c47a;
$custom-dark: #000000;
JSON
{
  "hex": "#97ab40",
  "rgb": {
    "r": 151,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 71.215,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70422,
    "c": 0.13396,
    "h": 119
  },
  "luminance": 0.36075
}

Semantic roles & 50–950 ramp

primary
#97AB40
secondary
#9186C1
accent
#53D56B
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#121209
muted
#81817B

Preview Lab

Preview with #97AB40

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

Preview Lab → · Contrast checker → · Palette generator →

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