#97C542#97C542

#97C542 is a light, vivid yellow-green. Relative luminance 0.469; OKLCH L 76.5% C 0.165 H 126.7°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#97C542
RGBrgb(151, 197, 66)
HSLhsl(81, 53%, 52%)
HSVhsv(81, 66%, 77%)
CMYKcmyk(23.4%, 0%, 66.5%, 22.7%)
CIE-LABlab(74.13, -34.55, 58.37)
CIE-LCHlch(74.13, 67.83, 120.62°)
OKLaboklab(76.52% -0.0988 0.1327)
OKLCHoklch(76.52% 0.165 126.7)
XYZxyz(33.7122, 46.9046, 12.4306)
Luminance0.4691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C542 #7042C5
analogous
#C5B242 #97C542 #56C542
triadic
#97C542 #4297C5 #C54297
tetradic
#97C542 #42C5B2 #7042C5 #C54256
square
#97C542 #42C5B2 #7042C5 #C54256
split-complementary
#97C542 #4256C5 #B242C5
monochromatic
#516C21 #759A2F #97C542 #B1D371 #CBE2A0

Accessibility & contrast

On white

2.02
#97C542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#97C542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97C542
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97C542#FFFFFF#000000##000000
##97C5421.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB830
Deuteranopia (green-blind)
#C9B54C
Tritanopia (blue-blind)
#9DBCAA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #97c542;
/* rgb */ color: rgb(151, 197, 66);
/* oklch */ color: oklch(76.5% 0.165 126.7);
Tailwind
colors: {
  custom: {
    50: '#b9d67d',
    500: '#97c542',
    950: '#000000',
  },
}
SCSS
$custom: #97c542;
$custom-light: #b9d67d;
$custom-dark: #000000;
JSON
{
  "hex": "#97c542",
  "rgb": {
    "r": 151,
    "g": 197,
    "b": 66
  },
  "hsl": {
    "h": 81.069,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7652,
    "c": 0.16539,
    "h": 126.7
  },
  "luminance": 0.46905
}

Semantic roles & 50–950 ramp

primary
#97C542
secondary
#A995CE
accent
#4BDC7E
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #97C542

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

Preview Lab → · Contrast checker → · Palette generator →

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