#97D852#97D852

#97D852 is a light, vivid yellow-green. Relative luminance 0.563; OKLCH L 81.2% C 0.178 H 131.3°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#97D852
RGBrgb(151, 216, 82)
HSLhsl(89, 63%, 58%)
HSVhsv(89, 62%, 85%)
CMYKcmyk(30.1%, 0%, 62%, 15.3%)
CIE-LABlab(79.78, -41.82, 57.87)
CIE-LCHlch(79.78, 71.40, 125.85°)
OKLaboklab(81.15% -0.1174 0.1336)
OKLCHoklch(81.15% 0.178 131.3)
XYZxyz(38.8409, 56.2990, 16.8014)
Luminance0.5630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97D852 #9352D8
analogous
#D8D652 #97D852 #54D852
triadic
#97D852 #5297D8 #D85297
tetradic
#97D852 #52D8D6 #9352D8 #D85254
square
#97D852 #52D8D6 #9352D8 #D85254
split-complementary
#97D852 #5254D8 #D652D8
monochromatic
#598F20 #79C12C #97D852 #B5E384 #D3EFB6

Accessibility & contrast

On white

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

On black

12.26
#97D852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97D852
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97D852#FFFFFF#000000##000000
##97D8521.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C942
Deuteranopia (green-blind)
#D8C45C
Tritanopia (blue-blind)
#99D0BC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #97d852;
/* rgb */ color: rgb(151, 216, 82);
/* oklch */ color: oklch(81.2% 0.178 131.3);
Tailwind
colors: {
  custom: {
    50: '#b9e488',
    500: '#97d852',
    950: '#000000',
  },
}
SCSS
$custom: #97d852;
$custom-light: #b9e488;
$custom-dark: #000000;
JSON
{
  "hex": "#97d852",
  "rgb": {
    "r": 151,
    "g": 216,
    "b": 82
  },
  "hsl": {
    "h": 89.104,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8115,
    "c": 0.17785,
    "h": 131.3
  },
  "luminance": 0.563
}

Semantic roles & 50–950 ramp

primary
#97D852
secondary
#663995
accent
#42E691
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #97D852

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

Preview Lab → · Contrast checker → · Palette generator →

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