#97B52A#97B52A

#97B52A is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.6% C 0.161 H 121.5°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#97B52A
RGBrgb(151, 181, 42)
HSLhsl(73, 62%, 44%)
HSVhsv(73, 77%, 71%)
CMYKcmyk(16.6%, 0%, 76.8%, 29%)
CIE-LABlab(69.32, -28.46, 62.29)
CIE-LCHlch(69.32, 68.48, 114.56°)
OKLaboklab(72.58% -0.084 0.1372)
OKLCHoklch(72.58% 0.161 121.5)
XYZxyz(29.7048, 39.7942, 8.3062)
Luminance0.3979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B52A #482AB5
analogous
#B58D2A #97B52A #51B52A
triadic
#97B52A #2A97B5 #B52A97
tetradic
#97B52A #2AB58D #482AB5 #B52A51
square
#97B52A #2AB58D #482AB5 #B52A51
split-complementary
#97B52A #2A51B5 #8D2AB5
monochromatic
#445213 #6E831E #97B52A #B6D448 #CAE079

Accessibility & contrast

On white

2.34
#97B52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#97B52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B52A
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B52A#FFFFFF#000000##000000
##97B52A1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA03
Deuteranopia (green-blind)
#BDA937
Tritanopia (blue-blind)
#9FAB9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #97b52a;
/* rgb */ color: rgb(151, 181, 42);
/* oklch */ color: oklch(72.6% 0.161 121.5);
Tailwind
colors: {
  custom: {
    50: '#b9cb6f',
    500: '#97b52a',
    950: '#000000',
  },
}
SCSS
$custom: #97b52a;
$custom-light: #b9cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#97b52a",
  "rgb": {
    "r": 151,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 72.95,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72585,
    "c": 0.16086,
    "h": 121.5
  },
  "luminance": 0.39794
}

Semantic roles & 50–950 ramp

primary
#97B52A
secondary
#8573C8
accent
#42E566
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B52A

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

Preview Lab → · Contrast checker → · Palette generator →

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