#97AF51#97AF51

#97AF51 is a light, vivid yellow-green. Relative luminance 0.378; OKLCH L 71.5% C 0.124 H 121.5°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#97AF51
RGBrgb(151, 175, 81)
HSLhsl(75, 37%, 50%)
HSVhsv(75, 54%, 69%)
CMYKcmyk(13.7%, 0%, 53.7%, 31.4%)
CIE-LABlab(67.90, -22.80, 44.85)
CIE-LCHlch(67.90, 50.32, 116.94°)
OKLaboklab(71.54% -0.0647 0.1056)
OKLCHoklch(71.54% 0.124 121.5)
XYZxyz(29.5779, 37.8333, 13.5273)
Luminance0.3783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF51 #6951AF
analogous
#AF9851 #97AF51 #68AF51
triadic
#97AF51 #5197AF #AF5197
tetradic
#97AF51 #51AF98 #6951AF #AF5168
square
#97AF51 #51AF98 #6951AF #AF5168
split-complementary
#97AF51 #5168AF #9851AF
monochromatic
#4F5C2A #73853D #97AF51 #B0C27B #C9D6A5

Accessibility & contrast

On white

2.45
#97AF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#97AF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF51
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF51#FFFFFF#000000##000000
##97AF511.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A648
Deuteranopia (green-blind)
#B5A657
Tritanopia (blue-blind)
#9EA79A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #97af51;
/* rgb */ color: rgb(151, 175, 81);
/* oklch */ color: oklch(71.5% 0.124 121.5);
Tailwind
colors: {
  custom: {
    50: '#b7c785',
    500: '#97af51',
    950: '#000000',
  },
}
SCSS
$custom: #97af51;
$custom-light: #b7c785;
$custom-dark: #000000;
JSON
{
  "hex": "#97af51",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 81
  },
  "hsl": {
    "h": 75.319,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71537,
    "c": 0.12388,
    "h": 121.5
  },
  "luminance": 0.37833
}

Semantic roles & 50–950 ramp

primary
#97AF51
secondary
#A499C3
accent
#5BCD78
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#11130B
muted
#80827C

Preview Lab

Preview with #97AF51

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

Preview Lab → · Contrast checker → · Palette generator →

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