#97D542#97D542

#97D542 is a light, vivid yellow-green. Relative luminance 0.546; OKLCH L 80.3% C 0.185 H 129.7°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#97D542
RGBrgb(151, 213, 66)
HSLhsl(85, 64%, 55%)
HSVhsv(85, 69%, 84%)
CMYKcmyk(29.1%, 0%, 69%, 16.5%)
CIE-LABlab(78.79, -41.72, 63.19)
CIE-LCHlch(78.79, 75.72, 123.43°)
OKLaboklab(80.3% -0.1184 0.1428)
OKLCHoklch(80.3% 0.185 129.7)
XYZxyz(37.5399, 54.5601, 13.7065)
Luminance0.5456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97D542 #8042D5
analogous
#D5C942 #97D542 #4ED542
triadic
#97D542 #4297D5 #D54297
tetradic
#97D542 #42D5C9 #8042D5 #D5424E
square
#97D542 #42D5C9 #8042D5 #D5424E
split-complementary
#97D542 #424ED5 #C942D5
monochromatic
#56801C #78B228 #97D542 #B3E074 #CEEBA6

Accessibility & contrast

On white

1.76
#97D542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#97D542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97D542
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97D542#FFFFFF#000000##000000
##97D5421.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC62B
Deuteranopia (green-blind)
#D6C24F
Tritanopia (blue-blind)
#9BCCB8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #97d542;
/* rgb */ color: rgb(151, 213, 66);
/* oklch */ color: oklch(80.3% 0.185 129.7);
Tailwind
colors: {
  custom: {
    50: '#bae27f',
    500: '#97d542',
    950: '#000000',
  },
}
SCSS
$custom: #97d542;
$custom-light: #bae27f;
$custom-dark: #000000;
JSON
{
  "hex": "#97d542",
  "rgb": {
    "r": 151,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 85.306,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.803,
    "c": 0.18549,
    "h": 129.7
  },
  "luminance": 0.54561
}

Semantic roles & 50–950 ramp

primary
#97D542
secondary
#573487
accent
#41E787
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #97D542

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

Preview Lab → · Contrast checker → · Palette generator →

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