#97D942#97D942

#97D942 is a light, vivid yellow-green. Relative luminance 0.566; OKLCH L 81.2% C 0.190 H 130.3°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#97D942
RGBrgb(151, 217, 66)
HSLhsl(86, 67%, 55%)
HSVhsv(86, 70%, 85%)
CMYKcmyk(30.4%, 0%, 69.6%, 14.9%)
CIE-LABlab(79.95, -43.45, 64.38)
CIE-LCHlch(79.95, 77.67, 124.02°)
OKLaboklab(81.25% -0.1231 0.1453)
OKLCHoklch(81.25% 0.19 130.3)
XYZxyz(38.5585, 56.5972, 14.0460)
Luminance0.5660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97D942 #8442D9
analogous
#D9CF42 #97D942 #4BD942
triadic
#97D942 #4297D9 #D94297
tetradic
#97D942 #42D9CF #8442D9 #D9424B
square
#97D942 #42D9CF #8442D9 #D9424B
split-complementary
#97D942 #424BD9 #CF42D9
monochromatic
#57861B #78B925 #97D942 #B3E375 #CFEDA8

Accessibility & contrast

On white

1.70
#97D942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#97D942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97D942
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97D942#FFFFFF#000000##000000
##97D9421.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C92A
Deuteranopia (green-blind)
#DAC54F
Tritanopia (blue-blind)
#9BD0BB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #97d942;
/* rgb */ color: rgb(151, 217, 66);
/* oklch */ color: oklch(81.2% 0.190 130.3);
Tailwind
colors: {
  custom: {
    50: '#bae57f',
    500: '#97d942',
    950: '#000000',
  },
}
SCSS
$custom: #97d942;
$custom-light: #bae57f;
$custom-dark: #000000;
JSON
{
  "hex": "#97d942",
  "rgb": {
    "r": 151,
    "g": 217,
    "b": 66
  },
  "hsl": {
    "h": 86.225,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81248,
    "c": 0.19043,
    "h": 130.3
  },
  "luminance": 0.56598
}

Semantic roles & 50–950 ramp

primary
#97D942
secondary
#5A338C
accent
#3EE989
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #97D942

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

Preview Lab → · Contrast checker → · Palette generator →

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