#97CA40#97CA40

#97CA40 is a light, vivid yellow-green. Relative luminance 0.492; OKLCH L 77.7% C 0.173 H 127.6°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#97CA40
RGBrgb(151, 202, 64)
HSLhsl(82, 57%, 52%)
HSVhsv(82, 68%, 79%)
CMYKcmyk(25.2%, 0%, 68.3%, 20.8%)
CIE-LABlab(75.57, -36.97, 60.65)
CIE-LCHlch(75.57, 71.03, 121.36°)
OKLaboklab(77.68% -0.1056 0.1372)
OKLCHoklch(77.68% 0.173 127.6)
XYZxyz(34.8085, 49.1898, 12.5102)
Luminance0.4919 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97CA40 #7340CA
analogous
#CAB840 #97CA40 #52CA40
triadic
#97CA40 #4097CA #CA4097
tetradic
#97CA40 #40CAB8 #7340CA #CA4052
square
#97CA40 #40CAB8 #7340CA #CA4052
split-complementary
#97CA40 #4052CA #B840CA
monochromatic
#52701F #76A02C #97CA40 #B1D770 #CBE5A0

Accessibility & contrast

On white

1.94
#97CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#97CA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97CA40
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97CA40#FFFFFF#000000##000000
##97CA401.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2B
Deuteranopia (green-blind)
#CDB94C
Tritanopia (blue-blind)
#9CC1AE
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #97ca40;
/* rgb */ color: rgb(151, 202, 64);
/* oklch */ color: oklch(77.7% 0.173 127.6);
Tailwind
colors: {
  custom: {
    50: '#b9da7c',
    500: '#97ca40',
    950: '#000000',
  },
}
SCSS
$custom: #97ca40;
$custom-light: #b9da7c;
$custom-dark: #000000;
JSON
{
  "hex": "#97ca40",
  "rgb": {
    "r": 151,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 82.174,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77683,
    "c": 0.17308,
    "h": 127.6
  },
  "luminance": 0.49191
}

Semantic roles & 50–950 ramp

primary
#97CA40
secondary
#AB95D1
accent
#48E080
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12150A
muted
#81837C

Preview Lab

Preview with #97CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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