#97B522#97B522

#97B522 is a light, vivid yellow-green. Relative luminance 0.397; OKLCH L 72.5% C 0.165 H 121.3°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#97B522
RGBrgb(151, 181, 34)
HSLhsl(72, 68%, 42%)
HSVhsv(72, 81%, 71%)
CMYKcmyk(16.6%, 0%, 81.2%, 29%)
CIE-LABlab(69.29, -28.79, 64.60)
CIE-LCHlch(69.29, 70.73, 114.02°)
OKLaboklab(72.54% -0.0855 0.1407)
OKLCHoklch(72.54% 0.165 121.3)
XYZxyz(29.5756, 39.7426, 7.6260)
Luminance0.3974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B522 #4022B5
analogous
#B58A22 #97B522 #4EB522
triadic
#97B522 #2297B5 #B52297
tetradic
#97B522 #22B58A #4022B5 #B5224E
square
#97B522 #22B58A #4022B5 #B5224E
split-complementary
#97B522 #224EB5 #8A22B5
monochromatic
#414E0F #6C8118 #97B522 #B9DA3A #CCE46E

Accessibility & contrast

On white

2.35
#97B522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#97B522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B522
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B522#FFFFFF#000000##000000
##97B5221.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BDA932
Tritanopia (blue-blind)
#A0AB9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #97b522;
/* rgb */ color: rgb(151, 181, 34);
/* oklch */ color: oklch(72.5% 0.165 121.3);
Tailwind
colors: {
  custom: {
    50: '#bacb6c',
    500: '#97b522',
    950: '#000000',
  },
}
SCSS
$custom: #97b522;
$custom-light: #bacb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#97b522",
  "rgb": {
    "r": 151,
    "g": 181,
    "b": 34
  },
  "hsl": {
    "h": 72.245,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72543,
    "c": 0.1647,
    "h": 121.3
  },
  "luminance": 0.39743
}

Semantic roles & 50–950 ramp

primary
#97B522
secondary
#7D69CA
accent
#3DEB60
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #97B522

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

Preview Lab → · Contrast checker → · Palette generator →

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