#97B342#97B342

#97B342 is a light, vivid yellow-green. Relative luminance 0.392; OKLCH L 72.3% C 0.142 H 121.9°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#97B342
RGBrgb(151, 179, 66)
HSLhsl(75, 46%, 48%)
HSVhsv(75, 63%, 70%)
CMYKcmyk(15.6%, 0%, 63.1%, 29.8%)
CIE-LABlab(68.91, -26.04, 52.82)
CIE-LCHlch(68.91, 58.89, 116.25°)
OKLaboklab(72.3% -0.0752 0.121)
OKLCHoklch(72.3% 0.142 121.9)
XYZxyz(29.8663, 39.2128, 11.1486)
Luminance0.3921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B342 #5E42B3
analogous
#B39642 #97B342 #5FB342
triadic
#97B342 #4297B3 #B34297
tetradic
#97B342 #42B396 #5E42B3 #B3425F
square
#97B342 #42B396 #5E42B3 #B3425F
split-complementary
#97B342 #425FB3 #9642B3
monochromatic
#4C5A21 #718632 #97B342 #B1C86A #C8D997

Accessibility & contrast

On white

2.37
#97B342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#97B342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B342
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B342#FFFFFF#000000##000000
##97B3421.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA934
Deuteranopia (green-blind)
#BAA84A
Tritanopia (blue-blind)
#9EAA9B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97b342;
/* rgb */ color: rgb(151, 179, 66);
/* oklch */ color: oklch(72.3% 0.142 121.9);
Tailwind
colors: {
  custom: {
    50: '#b8c97b',
    500: '#97b342',
    950: '#000000',
  },
}
SCSS
$custom: #97b342;
$custom-light: #b8c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#97b342",
  "rgb": {
    "r": 151,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 74.867,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.723,
    "c": 0.14245,
    "h": 121.9
  },
  "luminance": 0.39213
}

Semantic roles & 50–950 ramp

primary
#97B342
secondary
#9A8CC4
accent
#52D673
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #97B342

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

Preview Lab → · Contrast checker → · Palette generator →

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