#97AB42#97AB42

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

Color values

HEX#97AB42
RGBrgb(151, 171, 66)
HSLhsl(71, 44%, 46%)
HSVhsv(71, 61%, 67%)
CMYKcmyk(11.7%, 0%, 61.4%, 32.9%)
CIE-LABlab(66.60, -22.10, 50.31)
CIE-LCHlch(66.60, 54.96, 113.71°)
OKLaboklab(70.44% -0.0642 0.1157)
OKLCHoklch(70.44% 0.132 119.1)
XYZxyz(28.3092, 36.0987, 10.6296)
Luminance0.3610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AB42 #5642AB
analogous
#AB8B42 #97AB42 #63AB42
triadic
#97AB42 #4297AB #AB4297
tetradic
#97AB42 #42AB8B #5642AB #AB4263
square
#97AB42 #42AB8B #5642AB #AB4263
split-complementary
#97AB42 #4263AB #8B42AB
monochromatic
#495320 #707F31 #97AB42 #B2C466 #C8D592

Accessibility & contrast

On white

2.55
#97AB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AB42#FFFFFF#000000##000000
##97AB421.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97ab42;
/* rgb */ color: rgb(151, 171, 66);
/* oklch */ color: oklch(70.4% 0.132 119.1);
Tailwind
colors: {
  custom: {
    50: '#b8c47b',
    500: '#97ab42',
    950: '#000000',
  },
}
SCSS
$custom: #97ab42;
$custom-light: #b8c47b;
$custom-dark: #000000;
JSON
{
  "hex": "#97ab42",
  "rgb": {
    "r": 151,
    "g": 171,
    "b": 66
  },
  "hsl": {
    "h": 71.429,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70442,
    "c": 0.13229,
    "h": 119.1
  },
  "luminance": 0.36098
}

Semantic roles & 50–950 ramp

primary
#97AB42
secondary
#9388C0
accent
#54D46C
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #97AB42

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

Preview Lab → · Contrast checker → · Palette generator →

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