#97C321#97C321

#97C321 is a light, vivid yellow-green. Relative luminance 0.457; OKLCH L 75.8% C 0.181 H 124.8°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#97C321
RGBrgb(151, 195, 33)
HSLhsl(76, 71%, 45%)
HSVhsv(76, 83%, 76%)
CMYKcmyk(22.6%, 0%, 83.1%, 23.5%)
CIE-LABlab(73.36, -35.36, 68.44)
CIE-LCHlch(73.36, 77.03, 117.32°)
OKLaboklab(75.84% -0.1035 0.1488)
OKLCHoklch(75.84% 0.181 124.8)
XYZxyz(32.5525, 45.7189, 8.5482)
Luminance0.4572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C321 #4D21C3
analogous
#C39E21 #97C321 #46C321
triadic
#97C321 #2197C3 #C32197
tetradic
#97C321 #21C39E #4D21C3 #C32146
square
#97C321 #21C39E #4D21C3 #C32146
split-complementary
#97C321 #2146C3 #9E21C3
monochromatic
#465A0F #6E8F18 #97C321 #B4DF42 #C9E877

Accessibility & contrast

On white

2.07
#97C321 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#97C321 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97C321
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97C321#FFFFFF#000000##000000
##97C3211.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#C8B434
Tritanopia (blue-blind)
#9EB9A6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #97c321;
/* rgb */ color: rgb(151, 195, 33);
/* oklch */ color: oklch(75.8% 0.181 124.8);
Tailwind
colors: {
  custom: {
    50: '#bad56d',
    500: '#97c321',
    950: '#000000',
  },
}
SCSS
$custom: #97c321;
$custom-light: #bad56d;
$custom-dark: #000000;
JSON
{
  "hex": "#97c321",
  "rgb": {
    "r": 151,
    "g": 195,
    "b": 33
  },
  "hsl": {
    "h": 76.296,
    "s": 71.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75841,
    "c": 0.1812,
    "h": 124.8
  },
  "luminance": 0.45719
}

Semantic roles & 50–950 ramp

primary
#97C321
secondary
#8A71CF
accent
#3AEE6B
background
#FBFDF7
surface
#F7FAED
border
#D0D3C8
text
#121408
muted
#81837B

Preview Lab

Preview with #97C321

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

Preview Lab → · Contrast checker → · Palette generator →

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