#97B22A#97B22A

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

Color values

HEX#97B22A
RGBrgb(151, 178, 42)
HSLhsl(72, 62%, 43%)
HSVhsv(72, 76%, 70%)
CMYKcmyk(15.2%, 0%, 76.4%, 30.2%)
CIE-LABlab(68.45, -27.02, 61.47)
CIE-LCHlch(68.45, 67.15, 113.72°)
OKLaboklab(71.88% -0.0801 0.1354)
OKLCHoklch(71.88% 0.157 120.6)
XYZxyz(29.1013, 38.5873, 8.1050)
Luminance0.3859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B22A #452AB2
analogous
#B2892A #97B22A #53B22A
triadic
#97B22A #2A97B2 #B22A97
tetradic
#97B22A #2AB289 #452AB2 #B22A53
square
#97B22A #2AB289 #452AB2 #B22A53
split-complementary
#97B22A #2A53B2 #892AB2
monochromatic
#434F13 #6D801E #97B22A #B7D346 #CADF77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97B22A#FFFFFF#000000##000000
##97B22A1.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)
#BDA706
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#A0A899
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97b22a;
/* rgb */ color: rgb(151, 178, 42);
/* oklch */ color: oklch(71.9% 0.157 120.6);
Tailwind
colors: {
  custom: {
    50: '#b9c96f',
    500: '#97b22a',
    950: '#000000',
  },
}
SCSS
$custom: #97b22a;
$custom-light: #b9c96f;
$custom-dark: #000000;
JSON
{
  "hex": "#97b22a",
  "rgb": {
    "r": 151,
    "g": 178,
    "b": 42
  },
  "hsl": {
    "h": 71.912,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71882,
    "c": 0.15736,
    "h": 120.6
  },
  "luminance": 0.38587
}

Semantic roles & 50–950 ramp

primary
#97B22A
secondary
#8271C7
accent
#43E563
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B22A

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

Preview Lab → · Contrast checker → · Palette generator →

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