#97CC42#97CC42

#97CC42 is a light, vivid yellow-green. Relative luminance 0.502; OKLCH L 78.2% C 0.174 H 128.1°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#97CC42
RGBrgb(151, 204, 66)
HSLhsl(83, 58%, 53%)
HSVhsv(83, 68%, 80%)
CMYKcmyk(26%, 0%, 67.6%, 20%)
CIE-LABlab(76.17, -37.73, 60.49)
CIE-LCHlch(76.17, 71.30, 121.95°)
OKLaboklab(78.17% -0.1075 0.1371)
OKLCHoklch(78.17% 0.174 128.1)
XYZxyz(35.3387, 50.1576, 12.9727)
Luminance0.5016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97CC42 #7742CC
analogous
#CCBC42 #97CC42 #52CC42
triadic
#97CC42 #4297CC #CC4297
tetradic
#97CC42 #42CCBC #7742CC #CC4252
square
#97CC42 #42CCBC #7742CC #CC4252
split-complementary
#97CC42 #4252CC #BC42CC
monochromatic
#54741F #76A42C #97CC42 #B2D972 #CCE6A2

Accessibility & contrast

On white

1.90
#97CC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#97CC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97CC42
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97CC42#FFFFFF#000000##000000
##97CC421.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2E
Deuteranopia (green-blind)
#CFBB4D
Tritanopia (blue-blind)
#9CC3B0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #97cc42;
/* rgb */ color: rgb(151, 204, 66);
/* oklch */ color: oklch(78.2% 0.174 128.1);
Tailwind
colors: {
  custom: {
    50: '#b9db7e',
    500: '#97cc42',
    950: '#000000',
  },
}
SCSS
$custom: #97cc42;
$custom-light: #b9db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#97cc42",
  "rgb": {
    "r": 151,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 83.043,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.78171,
    "c": 0.17423,
    "h": 128.1
  },
  "luminance": 0.50158
}

Semantic roles & 50–950 ramp

primary
#97CC42
secondary
#51357D
accent
#47E182
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #97CC42

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

Preview Lab → · Contrast checker → · Palette generator →

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