#97B420#97B420

#97B420 is a light, vivid yellow-green. Relative luminance 0.393; OKLCH L 72.3% C 0.164 H 121.0°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#97B420
RGBrgb(151, 180, 32)
HSLhsl(72, 70%, 42%)
HSVhsv(72, 82%, 71%)
CMYKcmyk(16.1%, 0%, 82.2%, 29.4%)
CIE-LABlab(68.99, -28.39, 64.87)
CIE-LCHlch(68.99, 70.81, 113.63°)
OKLaboklab(72.3% -0.0846 0.141)
OKLCHoklch(72.3% 0.164 121)
XYZxyz(29.3450, 39.3261, 7.4110)
Luminance0.3933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B420 #3D20B4
analogous
#B48720 #97B420 #4DB420
triadic
#97B420 #2097B4 #B42097
tetradic
#97B420 #20B487 #3D20B4 #B4204D
square
#97B420 #20B487 #3D20B4 #B4204D
split-complementary
#97B420 #204DB4 #8720B4
monochromatic
#404C0E #6B8017 #97B420 #BBDB36 #CCE46A

Accessibility & contrast

On white

2.37
#97B420 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#97B420 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B420
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B420#FFFFFF#000000##000000
##97B4201.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BCA930
Tritanopia (blue-blind)
#A0AA9A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97b420;
/* rgb */ color: rgb(151, 180, 32);
/* oklch */ color: oklch(72.3% 0.164 121.0);
Tailwind
colors: {
  custom: {
    50: '#baca6b',
    500: '#97b420',
    950: '#000000',
  },
}
SCSS
$custom: #97b420;
$custom-light: #baca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#97b420",
  "rgb": {
    "r": 151,
    "g": 180,
    "b": 32
  },
  "hsl": {
    "h": 71.757,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.723,
    "c": 0.1644,
    "h": 121
  },
  "luminance": 0.39326
}

Semantic roles & 50–950 ramp

primary
#97B420
secondary
#7966CA
accent
#3BED5E
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #97B420

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

Preview Lab → · Contrast checker → · Palette generator →

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