#97B322#97B322

#97B322 is a light, vivid yellow-green. Relative luminance 0.389; OKLCH L 72.1% C 0.162 H 120.7°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#97B322
RGBrgb(151, 179, 34)
HSLhsl(72, 68%, 42%)
HSVhsv(72, 81%, 70%)
CMYKcmyk(15.6%, 0%, 81%, 29.8%)
CIE-LABlab(68.70, -27.83, 64.09)
CIE-LCHlch(68.70, 69.87, 113.48°)
OKLaboklab(72.07% -0.0829 0.1396)
OKLCHoklch(72.07% 0.162 120.7)
XYZxyz(29.1719, 38.9351, 7.4915)
Luminance0.3893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B322 #3E22B3
analogous
#B38722 #97B322 #4FB322
triadic
#97B322 #2297B3 #B32297
tetradic
#97B322 #22B387 #3E22B3 #B3224F
square
#97B322 #22B387 #3E22B3 #B3224F
split-complementary
#97B322 #224FB3 #8722B3
monochromatic
#404C0E #6C8018 #97B322 #BAD939 #CCE36C

Accessibility & contrast

On white

2.39
#97B322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#97B322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B322
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B322#FFFFFF#000000##000000
##97B3221.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BBA831
Tritanopia (blue-blind)
#A0A999
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97b322;
/* rgb */ color: rgb(151, 179, 34);
/* oklch */ color: oklch(72.1% 0.162 120.7);
Tailwind
colors: {
  custom: {
    50: '#b9c96b',
    500: '#97b322',
    950: '#000000',
  },
}
SCSS
$custom: #97b322;
$custom-light: #b9c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#97b322",
  "rgb": {
    "r": 151,
    "g": 179,
    "b": 34
  },
  "hsl": {
    "h": 71.586,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72074,
    "c": 0.1624,
    "h": 120.7
  },
  "luminance": 0.38935
}

Semantic roles & 50–950 ramp

primary
#97B322
secondary
#7A68C9
accent
#3DEB5E
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #97B322

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

Preview Lab → · Contrast checker → · Palette generator →

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