#97B252#97B252

#97B252 is a light, vivid yellow-green. Relative luminance 0.390; OKLCH L 72.2% C 0.127 H 122.7°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#97B252
RGBrgb(151, 178, 82)
HSLhsl(77, 38%, 51%)
HSVhsv(77, 54%, 70%)
CMYKcmyk(15.2%, 0%, 53.9%, 30.2%)
CIE-LABlab(68.77, -24.19, 45.40)
CIE-LCHlch(68.77, 51.44, 118.05°)
OKLaboklab(72.24% -0.0685 0.1069)
OKLCHoklch(72.24% 0.127 122.7)
XYZxyz(30.2060, 39.0292, 13.9231)
Luminance0.3903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B252 #6D52B2
analogous
#B29D52 #97B252 #67B252
triadic
#97B252 #5297B2 #B25297
tetradic
#97B252 #52B29D #6D52B2 #B25267
square
#97B252 #52B29D #6D52B2 #B25267
split-complementary
#97B252 #5267B2 #9D52B2
monochromatic
#505F2A #748A3D #97B252 #B0C57C #CAD8A7

Accessibility & contrast

On white

2.38
#97B252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#97B252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B252
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B252#FFFFFF#000000##000000
##97B2521.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA849
Deuteranopia (green-blind)
#B8A858
Tritanopia (blue-blind)
#9DAA9D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97b252;
/* rgb */ color: rgb(151, 178, 82);
/* oklch */ color: oklch(72.2% 0.127 122.7);
Tailwind
colors: {
  custom: {
    50: '#b7c985',
    500: '#97b252',
    950: '#000000',
  },
}
SCSS
$custom: #97b252;
$custom-light: #b7c985;
$custom-dark: #000000;
JSON
{
  "hex": "#97b252",
  "rgb": {
    "r": 151,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 76.875,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72244,
    "c": 0.12697,
    "h": 122.7
  },
  "luminance": 0.39029
}

Semantic roles & 50–950 ramp

primary
#97B252
secondary
#A79BC5
accent
#59CE7A
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #97B252

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

Preview Lab → · Contrast checker → · Palette generator →

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