#97B151#97B151

#97B151 is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 72.0% C 0.127 H 122.2°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#97B151
RGBrgb(151, 177, 81)
HSLhsl(76, 38%, 51%)
HSVhsv(76, 54%, 69%)
CMYKcmyk(14.7%, 0%, 54.2%, 30.6%)
CIE-LABlab(68.47, -23.79, 45.53)
CIE-LCHlch(68.47, 51.37, 117.59°)
OKLaboklab(72% -0.0675 0.1071)
OKLCHoklch(72% 0.127 122.2)
XYZxyz(29.9700, 38.6176, 13.6580)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B151 #6B51B1
analogous
#B19B51 #97B151 #67B151
triadic
#97B151 #5197B1 #B15197
tetradic
#97B151 #51B19B #6B51B1 #B15167
square
#97B151 #51B19B #6B51B1 #B15167
split-complementary
#97B151 #5167B1 #9B51B1
monochromatic
#505E2A #74883D #97B151 #B0C47B #CAD7A6

Accessibility & contrast

On white

2.41
#97B151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#97B151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B151
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B151#FFFFFF#000000##000000
##97B1511.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA848
Deuteranopia (green-blind)
#B7A757
Tritanopia (blue-blind)
#9EA99C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97b151;
/* rgb */ color: rgb(151, 177, 81);
/* oklch */ color: oklch(72.0% 0.127 122.2);
Tailwind
colors: {
  custom: {
    50: '#b7c885',
    500: '#97b151',
    950: '#000000',
  },
}
SCSS
$custom: #97b151;
$custom-light: #b7c885;
$custom-dark: #000000;
JSON
{
  "hex": "#97b151",
  "rgb": {
    "r": 151,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 76.25,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72,
    "c": 0.12659,
    "h": 122.2
  },
  "luminance": 0.38618
}

Semantic roles & 50–950 ramp

primary
#97B151
secondary
#A59AC4
accent
#5ACE79
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #97B151

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

Preview Lab → · Contrast checker → · Palette generator →

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