#97C242#97C242

#97C242 is a light, vivid yellow-green. Relative luminance 0.456; OKLCH L 75.8% C 0.162 H 126.0°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#97C242
RGBrgb(151, 194, 66)
HSLhsl(80, 51%, 51%)
HSVhsv(80, 66%, 76%)
CMYKcmyk(22.2%, 0%, 66%, 23.9%)
CIE-LABlab(73.26, -33.17, 57.46)
CIE-LCHlch(73.26, 66.34, 120.00°)
OKLaboklab(75.81% -0.095 0.1307)
OKLCHoklch(75.81% 0.162 126)
XYZxyz(33.0378, 45.5558, 12.2058)
Luminance0.4556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C242 #6D42C2
analogous
#C2AD42 #97C242 #57C242
triadic
#97C242 #4297C2 #C24297
tetradic
#97C242 #42C2AD #6D42C2 #C24257
square
#97C242 #42C2AD #6D42C2 #C24257
split-complementary
#97C242 #4257C2 #AD42C2
monochromatic
#506822 #749631 #97C242 #B0D170 #CAE09F

Accessibility & contrast

On white

2.08
#97C242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#97C242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97C242
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97C242#FFFFFF#000000##000000
##97C2421.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB631
Deuteranopia (green-blind)
#C6B34C
Tritanopia (blue-blind)
#9DB9A8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #97c242;
/* rgb */ color: rgb(151, 194, 66);
/* oklch */ color: oklch(75.8% 0.162 126.0);
Tailwind
colors: {
  custom: {
    50: '#b9d47d',
    500: '#97c242',
    950: '#000000',
  },
}
SCSS
$custom: #97c242;
$custom-light: #b9d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#97c242",
  "rgb": {
    "r": 151,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 80.156,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75814,
    "c": 0.16157,
    "h": 126
  },
  "luminance": 0.45556
}

Semantic roles & 50–950 ramp

primary
#97C242
secondary
#A794CC
accent
#4DDB7D
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #97C242

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

Preview Lab → · Contrast checker → · Palette generator →

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