#97B22C#97B22C

#97B22C is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 71.9% C 0.156 H 120.6°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#97B22C
RGBrgb(151, 178, 44)
HSLhsl(72, 60%, 44%)
HSVhsv(72, 75%, 70%)
CMYKcmyk(15.2%, 0%, 75.3%, 30.2%)
CIE-LABlab(68.46, -26.92, 60.83)
CIE-LCHlch(68.46, 66.52, 113.87°)
OKLaboklab(71.89% -0.0797 0.1344)
OKLCHoklch(71.89% 0.156 120.6)
XYZxyz(29.1380, 38.6020, 8.2983)
Luminance0.3860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B22C #472CB2
analogous
#B28A2C #97B22C #54B22C
triadic
#97B22C #2C97B2 #B22C97
tetradic
#97B22C #2CB28A #472CB2 #B22C54
square
#97B22C #2CB28A #472CB2 #B22C54
split-complementary
#97B22C #2C54B2 #8A2CB2
monochromatic
#445014 #6D8120 #97B22C #B6D249 #CADE7A

Accessibility & contrast

On white

2.41
#97B22C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#97B22C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B22C
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B22C#FFFFFF#000000##000000
##97B22C1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA70D
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#A0A899
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97b22c;
/* rgb */ color: rgb(151, 178, 44);
/* oklch */ color: oklch(71.9% 0.156 120.6);
Tailwind
colors: {
  custom: {
    50: '#b9c970',
    500: '#97b22c',
    950: '#000000',
  },
}
SCSS
$custom: #97b22c;
$custom-light: #b9c970;
$custom-dark: #000000;
JSON
{
  "hex": "#97b22c",
  "rgb": {
    "r": 151,
    "g": 178,
    "b": 44
  },
  "hsl": {
    "h": 72.09,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71894,
    "c": 0.15626,
    "h": 120.6
  },
  "luminance": 0.38602
}

Semantic roles & 50–950 ramp

primary
#97B22C
secondary
#8473C6
accent
#44E464
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B22C

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

Preview Lab → · Contrast checker → · Palette generator →

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