#97B72A#97B72A

#97B72A is a light, vivid yellow-green. Relative luminance 0.406; OKLCH L 73.1% C 0.163 H 122.1°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#97B72A
RGBrgb(151, 183, 42)
HSLhsl(74, 63%, 44%)
HSVhsv(74, 77%, 72%)
CMYKcmyk(17.5%, 0%, 77%, 28.2%)
CIE-LABlab(69.90, -29.41, 62.83)
CIE-LCHlch(69.90, 69.37, 115.09°)
OKLaboklab(73.06% -0.0867 0.1383)
OKLCHoklch(73.06% 0.163 122.1)
XYZxyz(30.1144, 40.6134, 8.4427)
Luminance0.4061 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B72A #4A2AB7
analogous
#B7912A #97B72A #51B72A
triadic
#97B72A #2A97B7 #B72A97
tetradic
#97B72A #2AB791 #4A2AB7 #B72A51
square
#97B72A #2AB791 #4A2AB7 #B72A51
split-complementary
#97B72A #2A51B7 #912AB7
monochromatic
#455313 #6E851F #97B72A #B5D549 #CAE17B

Accessibility & contrast

On white

2.30
#97B72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#97B72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B72A
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B72A#FFFFFF#000000##000000
##97B72A1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC01
Deuteranopia (green-blind)
#BEAB38
Tritanopia (blue-blind)
#9FAD9D
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #97b72a;
/* rgb */ color: rgb(151, 183, 42);
/* oklch */ color: oklch(73.1% 0.163 122.1);
Tailwind
colors: {
  custom: {
    50: '#b9cc6f',
    500: '#97b72a',
    950: '#000000',
  },
}
SCSS
$custom: #97b72a;
$custom-light: #b9cc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#97b72a",
  "rgb": {
    "r": 151,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 73.617,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73055,
    "c": 0.16322,
    "h": 122.1
  },
  "luminance": 0.40613
}

Semantic roles & 50–950 ramp

primary
#97B72A
secondary
#8774C9
accent
#42E667
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B72A

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

Preview Lab → · Contrast checker → · Palette generator →

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