#97C842#97C842

#97C842 is a light, vivid yellow-green. Relative luminance 0.483; OKLCH L 77.2% C 0.169 H 127.3°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#97C842
RGBrgb(151, 200, 66)
HSLhsl(82, 55%, 52%)
HSVhsv(82, 67%, 78%)
CMYKcmyk(24.5%, 0%, 67%, 21.6%)
CIE-LABlab(75.00, -35.92, 59.28)
CIE-LCHlch(75.00, 69.32, 121.22°)
OKLaboklab(77.23% -0.1025 0.1346)
OKLCHoklch(77.23% 0.169 127.3)
XYZxyz(34.4002, 48.2806, 12.6599)
Luminance0.4828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C842 #7342C8
analogous
#C8B642 #97C842 #54C842
triadic
#97C842 #4297C8 #C84297
tetradic
#97C842 #42C8B6 #7342C8 #C84254
square
#97C842 #42C8B6 #7342C8 #C84254
split-complementary
#97C842 #4254C8 #B642C8
monochromatic
#526F20 #769F2E #97C842 #B1D671 #CBE4A1

Accessibility & contrast

On white

1.97
#97C842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#97C842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97C842
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97C842#FFFFFF#000000##000000
##97C8421.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2F
Deuteranopia (green-blind)
#CBB84D
Tritanopia (blue-blind)
#9CBFAD
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #97c842;
/* rgb */ color: rgb(151, 200, 66);
/* oklch */ color: oklch(77.2% 0.169 127.3);
Tailwind
colors: {
  custom: {
    50: '#b9d97d',
    500: '#97c842',
    950: '#000000',
  },
}
SCSS
$custom: #97c842;
$custom-light: #b9d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#97c842",
  "rgb": {
    "r": 151,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 81.94,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77227,
    "c": 0.16918,
    "h": 127.3
  },
  "luminance": 0.48281
}

Semantic roles & 50–950 ramp

primary
#97C842
secondary
#AB96D0
accent
#4ADE80
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #97C842

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

Preview Lab → · Contrast checker → · Palette generator →

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