#97D540#97D540

#97D540 is a light, vivid yellow-green. Relative luminance 0.545; OKLCH L 80.3% C 0.187 H 129.5°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#97D540
RGBrgb(151, 213, 64)
HSLhsl(85, 64%, 54%)
HSVhsv(85, 70%, 84%)
CMYKcmyk(29.1%, 0%, 70%, 16.5%)
CIE-LABlab(78.77, -41.85, 63.92)
CIE-LCHlch(78.77, 76.40, 123.21°)
OKLaboklab(80.29% -0.1189 0.144)
OKLCHoklch(80.29% 0.187 129.5)
XYZxyz(37.4820, 54.5369, 13.4014)
Luminance0.5454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97D540 #7E40D5
analogous
#D5C840 #97D540 #4DD540
triadic
#97D540 #4097D5 #D54097
tetradic
#97D540 #40D5C8 #7E40D5 #D5404D
square
#97D540 #40D5C8 #7E40D5 #D5404D
split-complementary
#97D540 #404DD5 #C840D5
monochromatic
#567F1C #77B127 #97D540 #B2E072 #CEEBA4

Accessibility & contrast

On white

1.76
#97D540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#97D540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97D540
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97D540#FFFFFF#000000##000000
##97D5401.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC627
Deuteranopia (green-blind)
#D6C24D
Tritanopia (blue-blind)
#9BCCB8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #97d540;
/* rgb */ color: rgb(151, 213, 64);
/* oklch */ color: oklch(80.3% 0.187 129.5);
Tailwind
colors: {
  custom: {
    50: '#bae27d',
    500: '#97d540',
    950: '#000000',
  },
}
SCSS
$custom: #97d540;
$custom-light: #bae27d;
$custom-dark: #000000;
JSON
{
  "hex": "#97d540",
  "rgb": {
    "r": 151,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 84.966,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80285,
    "c": 0.18677,
    "h": 129.5
  },
  "luminance": 0.54538
}

Semantic roles & 50–950 ramp

primary
#97D540
secondary
#563386
accent
#41E786
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #97D540

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

Preview Lab → · Contrast checker → · Palette generator →

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