#97C940#97C940

#97C940 is a light, vivid yellow-green. Relative luminance 0.487; OKLCH L 77.4% C 0.172 H 127.4°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#97C940
RGBrgb(151, 201, 64)
HSLhsl(82, 56%, 52%)
HSVhsv(82, 68%, 79%)
CMYKcmyk(24.9%, 0%, 68.2%, 21.2%)
CIE-LABlab(75.28, -36.52, 60.35)
CIE-LCHlch(75.28, 70.54, 121.18°)
OKLaboklab(77.45% -0.1043 0.1365)
OKLCHoklch(77.45% 0.172 127.4)
XYZxyz(34.5746, 48.7221, 12.4322)
Luminance0.4872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C940 #7240C9
analogous
#C9B740 #97C940 #53C940
triadic
#97C940 #4097C9 #C94097
tetradic
#97C940 #40C9B7 #7240C9 #C94053
square
#97C940 #40C9B7 #7240C9 #C94053
split-complementary
#97C940 #4053C9 #B740C9
monochromatic
#526F1F #759F2D #97C940 #B1D670 #CBE49F

Accessibility & contrast

On white

1.95
#97C940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#97C940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97C940
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97C940#FFFFFF#000000##000000
##97C9401.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2B
Deuteranopia (green-blind)
#CCB84B
Tritanopia (blue-blind)
#9CC0AE
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #97c940;
/* rgb */ color: rgb(151, 201, 64);
/* oklch */ color: oklch(77.4% 0.172 127.4);
Tailwind
colors: {
  custom: {
    50: '#b9d97c',
    500: '#97c940',
    950: '#000000',
  },
}
SCSS
$custom: #97c940;
$custom-light: #b9d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#97c940",
  "rgb": {
    "r": 151,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 81.898,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77447,
    "c": 0.17182,
    "h": 127.4
  },
  "luminance": 0.48723
}

Semantic roles & 50–950 ramp

primary
#97C940
secondary
#AA94D0
accent
#49DF80
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #97C940

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

Preview Lab → · Contrast checker → · Palette generator →

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