#97CE51#97CE51

#97CE51 is a light, vivid yellow-green. Relative luminance 0.513; OKLCH L 78.8% C 0.166 H 129.6°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#97CE51
RGBrgb(151, 206, 81)
HSLhsl(86, 56%, 56%)
HSVhsv(86, 61%, 81%)
CMYKcmyk(26.7%, 0%, 60.7%, 19.2%)
CIE-LABlab(76.87, -37.47, 55.08)
CIE-LCHlch(76.87, 66.62, 124.23°)
OKLaboklab(78.78% -0.1055 0.1276)
OKLCHoklch(78.78% 0.166 129.6)
XYZxyz(36.3188, 51.3151, 15.7743)
Luminance0.5132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97CE51 #8851CE
analogous
#CEC751 #97CE51 #59CE51
triadic
#97CE51 #5197CE #CE5197
tetradic
#97CE51 #51CEC7 #8851CE #CE5159
square
#97CE51 #51CEC7 #8851CE #CE5159
split-complementary
#97CE51 #5159CE #C751CE
monochromatic
#588024 #78B032 #97CE51 #B4DB81 #D0E9B1

Accessibility & contrast

On white

1.86
#97CE51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#97CE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97CE51
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97CE51#FFFFFF#000000##000000
##97CE511.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C043
Deuteranopia (green-blind)
#CFBC5A
Tritanopia (blue-blind)
#9BC6B3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #97ce51;
/* rgb */ color: rgb(151, 206, 81);
/* oklch */ color: oklch(78.8% 0.166 129.6);
Tailwind
colors: {
  custom: {
    50: '#b9dd87',
    500: '#97ce51',
    950: '#000000',
  },
}
SCSS
$custom: #97ce51;
$custom-light: #b9dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#97ce51",
  "rgb": {
    "r": 151,
    "g": 206,
    "b": 81
  },
  "hsl": {
    "h": 86.4,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78781,
    "c": 0.16555,
    "h": 129.6
  },
  "luminance": 0.51316
}

Semantic roles & 50–950 ramp

primary
#97CE51
secondary
#5D3B88
accent
#48DF8B
background
#FDFEFC
surface
#F8FCF3
border
#D1D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #97CE51

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

Preview Lab → · Contrast checker → · Palette generator →

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