#97D151#97D151

#97D151 is a light, vivid yellow-green. Relative luminance 0.528; OKLCH L 79.5% C 0.169 H 130.1°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#97D151
RGBrgb(151, 209, 81)
HSLhsl(87, 58%, 57%)
HSVhsv(87, 61%, 82%)
CMYKcmyk(27.8%, 0%, 61.2%, 18%)
CIE-LABlab(77.74, -38.82, 56.04)
CIE-LCHlch(77.74, 68.17, 124.71°)
OKLaboklab(79.49% -0.1092 0.1296)
OKLCHoklch(79.49% 0.169 130.1)
XYZxyz(37.0479, 52.7733, 16.0173)
Luminance0.5277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97D151 #8B51D1
analogous
#D1CB51 #97D151 #57D151
triadic
#97D151 #5197D1 #D15197
tetradic
#97D151 #51D1CB #8B51D1 #D15157
square
#97D151 #51D1CB #8B51D1 #D15157
split-complementary
#97D151 #5157D1 #CB51D1
monochromatic
#588523 #79B530 #97D151 #B4DE81 #D1EBB2

Accessibility & contrast

On white

1.82
#97D151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#97D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97D151
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97D151#FFFFFF#000000##000000
##97D1511.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC342
Deuteranopia (green-blind)
#D2BF5B
Tritanopia (blue-blind)
#9AC9B6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #97d151;
/* rgb */ color: rgb(151, 209, 81);
/* oklch */ color: oklch(79.5% 0.169 130.1);
Tailwind
colors: {
  custom: {
    50: '#b9df87',
    500: '#97d151',
    950: '#000000',
  },
}
SCSS
$custom: #97d151;
$custom-light: #b9df87;
$custom-dark: #000000;
JSON
{
  "hex": "#97d151",
  "rgb": {
    "r": 151,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 87.188,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79488,
    "c": 0.16949,
    "h": 130.1
  },
  "luminance": 0.52774
}

Semantic roles & 50–950 ramp

primary
#97D151
secondary
#5F3B8B
accent
#46E18D
background
#FDFEFC
surface
#F8FCF3
border
#D1D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #97D151

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

Preview Lab → · Contrast checker → · Palette generator →

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