#97C538#97C538

#97C538 is a light, vivid yellow-green. Relative luminance 0.468; OKLCH L 76.4% C 0.172 H 126.1°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#97C538
RGBrgb(151, 197, 56)
HSLhsl(80, 56%, 50%)
HSVhsv(80, 72%, 77%)
CMYKcmyk(23.4%, 0%, 71.6%, 22.7%)
CIE-LABlab(74.06, -35.20, 62.09)
CIE-LCHlch(74.06, 71.38, 119.55°)
OKLaboklab(76.44% -0.1014 0.139)
OKLCHoklch(76.44% 0.172 126.1)
XYZxyz(33.4427, 46.7968, 11.0114)
Luminance0.4680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C538 #6638C5
analogous
#C5AC38 #97C538 #51C538
triadic
#97C538 #3897C5 #C53897
tetradic
#97C538 #38C5AC #6638C5 #C53851
square
#97C538 #38C5AC #6638C5 #C53851
split-complementary
#97C538 #3851C5 #AC38C5
monochromatic
#4E661D #72952A #97C538 #B0D467 #C9E196

Accessibility & contrast

On white

2.03
#97C538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#97C538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97C538
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97C538#FFFFFF#000000##000000
##97C5381.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB81F
Deuteranopia (green-blind)
#C9B544
Tritanopia (blue-blind)
#9DBCAA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #97c538;
/* rgb */ color: rgb(151, 197, 56);
/* oklch */ color: oklch(76.4% 0.172 126.1);
Tailwind
colors: {
  custom: {
    50: '#b9d678',
    500: '#97c538',
    950: '#000000',
  },
}
SCSS
$custom: #97c538;
$custom-light: #b9d678;
$custom-dark: #000000;
JSON
{
  "hex": "#97c538",
  "rgb": {
    "r": 151,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 79.574,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76442,
    "c": 0.17207,
    "h": 126.1
  },
  "luminance": 0.46797
}

Semantic roles & 50–950 ramp

primary
#97C538
secondary
#A18CCD
accent
#49DF7A
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#121409
muted
#81837B

Preview Lab

Preview with #97C538

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

Preview Lab → · Contrast checker → · Palette generator →

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