#97D940#97D940

#97D940 is a light, vivid yellow-green. Relative luminance 0.566; OKLCH L 81.2% C 0.192 H 130.2°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#97D940
RGBrgb(151, 217, 64)
HSLhsl(86, 67%, 55%)
HSVhsv(86, 71%, 85%)
CMYKcmyk(30.4%, 0%, 70.5%, 14.9%)
CIE-LABlab(79.94, -43.58, 65.09)
CIE-LCHlch(79.94, 78.34, 123.80°)
OKLaboklab(81.23% -0.1236 0.1465)
OKLCHoklch(81.23% 0.192 130.2)
XYZxyz(38.5005, 56.5740, 13.7409)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97D940 #8240D9
analogous
#D9CE40 #97D940 #4BD940
triadic
#97D940 #4097D9 #D94097
tetradic
#97D940 #40D9CE #8240D9 #D9404B
square
#97D940 #40D9CE #8240D9 #D9404B
split-complementary
#97D940 #404BD9 #CE40D9
monochromatic
#57841A #78B724 #97D940 #B3E373 #CFEDA6

Accessibility & contrast

On white

1.71
#97D940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#97D940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97D940
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97D940#FFFFFF#000000##000000
##97D9401.001.7112.3212.32
#FFFFFF1.711.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C926
Deuteranopia (green-blind)
#DAC54E
Tritanopia (blue-blind)
#9BD0BB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #97d940;
/* rgb */ color: rgb(151, 217, 64);
/* oklch */ color: oklch(81.2% 0.192 130.2);
Tailwind
colors: {
  custom: {
    50: '#bae57e',
    500: '#97d940',
    950: '#000000',
  },
}
SCSS
$custom: #97d940;
$custom-light: #bae57e;
$custom-dark: #000000;
JSON
{
  "hex": "#97d940",
  "rgb": {
    "r": 151,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 85.882,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81233,
    "c": 0.19169,
    "h": 130.2
  },
  "luminance": 0.56575
}

Semantic roles & 50–950 ramp

primary
#97D940
secondary
#59328B
accent
#3EEA88
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #97D940

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

Preview Lab → · Contrast checker → · Palette generator →

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