#97AF50#97AF50

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

Color values

HEX#97AF50
RGBrgb(151, 175, 80)
HSLhsl(75, 37%, 50%)
HSVhsv(75, 54%, 69%)
CMYKcmyk(13.7%, 0%, 54.3%, 31.4%)
CIE-LABlab(67.89, -22.89, 45.32)
CIE-LCHlch(67.89, 50.77, 116.80°)
OKLaboklab(71.52% -0.0651 0.1065)
OKLCHoklch(71.52% 0.125 121.4)
XYZxyz(29.5407, 37.8184, 13.3313)
Luminance0.3782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF50 #6850AF
analogous
#AF9850 #97AF50 #67AF50
triadic
#97AF50 #5097AF #AF5097
tetradic
#97AF50 #50AF98 #6850AF #AF5067
square
#97AF50 #50AF98 #6850AF #AF5067
split-complementary
#97AF50 #5067AF #9850AF
monochromatic
#4F5B2A #73853D #97AF50 #B0C27A #C9D5A4

Accessibility & contrast

On white

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

On black

8.56
#97AF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF50
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF50#FFFFFF#000000##000000
##97AF501.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97af50;
/* rgb */ color: rgb(151, 175, 80);
/* oklch */ color: oklch(71.5% 0.125 121.4);
Tailwind
colors: {
  custom: {
    50: '#b7c784',
    500: '#97af50',
    950: '#000000',
  },
}
SCSS
$custom: #97af50;
$custom-light: #b7c784;
$custom-dark: #000000;
JSON
{
  "hex": "#97af50",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 80
  },
  "hsl": {
    "h": 75.158,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.71524,
    "c": 0.12484,
    "h": 121.4
  },
  "luminance": 0.37818
}

Semantic roles & 50–950 ramp

primary
#97AF50
secondary
#A398C3
accent
#5BCD78
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #97AF50

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

Preview Lab → · Contrast checker → · Palette generator →

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