#97C540#97C540

#97C540 is a light, vivid yellow-green. Relative luminance 0.469; OKLCH L 76.5% C 0.167 H 126.5°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#97C540
RGBrgb(151, 197, 64)
HSLhsl(81, 53%, 51%)
HSVhsv(81, 68%, 77%)
CMYKcmyk(23.4%, 0%, 67.5%, 22.7%)
CIE-LABlab(74.11, -34.69, 59.15)
CIE-LCHlch(74.11, 68.57, 120.39°)
OKLaboklab(76.5% -0.0993 0.134)
OKLCHoklch(76.5% 0.167 126.5)
XYZxyz(33.6543, 46.8814, 12.1255)
Luminance0.4688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C540 #6E40C5
analogous
#C5B040 #97C540 #54C540
triadic
#97C540 #4097C5 #C54097
tetradic
#97C540 #40C5B0 #6E40C5 #C54054
square
#97C540 #40C5B0 #6E40C5 #C54054
split-complementary
#97C540 #4054C5 #B040C5
monochromatic
#516A20 #74992F #97C540 #B1D36F #CAE29E

Accessibility & contrast

On white

2.02
#97C540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#97C540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97C540
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97C540#FFFFFF#000000##000000
##97C5401.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97c540;
/* rgb */ color: rgb(151, 197, 64);
/* oklch */ color: oklch(76.5% 0.167 126.5);
Tailwind
colors: {
  custom: {
    50: '#b9d67c',
    500: '#97c540',
    950: '#000000',
  },
}
SCSS
$custom: #97c540;
$custom-light: #b9d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#97c540",
  "rgb": {
    "r": 151,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 80.752,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76503,
    "c": 0.1668,
    "h": 126.5
  },
  "luminance": 0.46882
}

Semantic roles & 50–950 ramp

primary
#97C540
secondary
#A793CE
accent
#4BDD7D
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #97C540

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

Preview Lab → · Contrast checker → · Palette generator →

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