#97B52C#97B52C

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

Color values

HEX#97B52C
RGBrgb(151, 181, 44)
HSLhsl(73, 61%, 44%)
HSVhsv(73, 76%, 71%)
CMYKcmyk(16.6%, 0%, 75.7%, 29%)
CIE-LABlab(69.33, -28.36, 61.65)
CIE-LCHlch(69.33, 67.86, 114.71°)
OKLaboklab(72.6% -0.0836 0.1362)
OKLCHoklch(72.6% 0.16 121.6)
XYZxyz(29.7415, 39.8089, 8.4994)
Luminance0.3981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B52C #4A2CB5
analogous
#B58F2C #97B52C #52B52C
triadic
#97B52C #2C97B5 #B52C97
tetradic
#97B52C #2CB58F #4A2CB5 #B52C52
square
#97B52C #2CB58F #4A2CB5 #B52C52
split-complementary
#97B52C #2C52B5 #8F2CB5
monochromatic
#455314 #6E8420 #97B52C #B5D34B #CADF7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97B52C#FFFFFF#000000##000000
##97B52C1.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)
#C0AA0A
Deuteranopia (green-blind)
#BCA939
Tritanopia (blue-blind)
#9FAB9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #97b52c;
/* rgb */ color: rgb(151, 181, 44);
/* oklch */ color: oklch(72.6% 0.160 121.6);
Tailwind
colors: {
  custom: {
    50: '#b9cb70',
    500: '#97b52c',
    950: '#000000',
  },
}
SCSS
$custom: #97b52c;
$custom-light: #b9cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#97b52c",
  "rgb": {
    "r": 151,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 73.139,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72597,
    "c": 0.15979,
    "h": 121.6
  },
  "luminance": 0.39809
}

Semantic roles & 50–950 ramp

primary
#97B52C
secondary
#8775C8
accent
#44E467
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B52C

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

Preview Lab → · Contrast checker → · Palette generator →

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