#97C742#97C742

#97C742 is a light, vivid yellow-green. Relative luminance 0.478; OKLCH L 77.0% C 0.168 H 127.1°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#97C742
RGBrgb(151, 199, 66)
HSLhsl(82, 54%, 52%)
HSVhsv(82, 67%, 78%)
CMYKcmyk(24.1%, 0%, 66.8%, 22%)
CIE-LABlab(74.71, -35.47, 58.98)
CIE-LCHlch(74.71, 68.82, 121.02°)
OKLaboklab(76.99% -0.1013 0.1339)
OKLCHoklch(76.99% 0.168 127.1)
XYZxyz(34.1693, 47.8189, 12.5830)
Luminance0.4782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C742 #7242C7
analogous
#C7B542 #97C742 #55C742
triadic
#97C742 #4297C7 #C74297
tetradic
#97C742 #42C7B5 #7242C7 #C74255
square
#97C742 #42C7B5 #7242C7 #C74255
split-complementary
#97C742 #4255C7 #B542C7
monochromatic
#526E21 #759D2F #97C742 #B1D571 #CBE3A0

Accessibility & contrast

On white

1.99
#97C742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#97C742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97C742
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97C742#FFFFFF#000000##000000
##97C7421.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2F
Deuteranopia (green-blind)
#CAB74D
Tritanopia (blue-blind)
#9DBEAC
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #97c742;
/* rgb */ color: rgb(151, 199, 66);
/* oklch */ color: oklch(77.0% 0.168 127.1);
Tailwind
colors: {
  custom: {
    50: '#b9d87d',
    500: '#97c742',
    950: '#000000',
  },
}
SCSS
$custom: #97c742;
$custom-light: #b9d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#97c742",
  "rgb": {
    "r": 151,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 81.654,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76991,
    "c": 0.16792,
    "h": 127.1
  },
  "luminance": 0.4782
}

Semantic roles & 50–950 ramp

primary
#97C742
secondary
#AA95D0
accent
#4ADE7F
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #97C742

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

Preview Lab → · Contrast checker → · Palette generator →

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