#97AF3A#97AF3A

#97AF3A is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 71.3% C 0.144 H 120.2°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#97AF3A
RGBrgb(151, 175, 58)
HSLhsl(72, 50%, 46%)
HSVhsv(72, 67%, 69%)
CMYKcmyk(13.7%, 0%, 66.9%, 31.4%)
CIE-LABlab(67.68, -24.65, 54.87)
CIE-LCHlch(67.68, 60.15, 114.20°)
OKLaboklab(71.3% -0.0721 0.1242)
OKLCHoklch(71.3% 0.144 120.2)
XYZxyz(28.8566, 37.5448, 9.7288)
Luminance0.3755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF3A #523AAF
analogous
#AF8C3A #97AF3A #5CAF3A
triadic
#97AF3A #3A97AF #AF3A97
tetradic
#97AF3A #3AAF8C #523AAF #AF3A5C
square
#97AF3A #3AAF8C #523AAF #AF3A5C
split-complementary
#97AF3A #3A5CAF #8C3AAF
monochromatic
#48531C #6F812B #97AF3A #B3C95D #C9D98B

Accessibility & contrast

On white

2.47
#97AF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#97AF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF3A
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF3A#FFFFFF#000000##000000
##97AF3A1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA52A
Deuteranopia (green-blind)
#B7A543
Tritanopia (blue-blind)
#9FA697
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #97af3a;
/* rgb */ color: rgb(151, 175, 58);
/* oklch */ color: oklch(71.3% 0.144 120.2);
Tailwind
colors: {
  custom: {
    50: '#b8c677',
    500: '#97af3a',
    950: '#000000',
  },
}
SCSS
$custom: #97af3a;
$custom-light: #b8c677;
$custom-dark: #000000;
JSON
{
  "hex": "#97af3a",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 72.308,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71296,
    "c": 0.14359,
    "h": 120.2
  },
  "luminance": 0.37545
}

Semantic roles & 50–950 ramp

primary
#97AF3A
secondary
#8F82C3
accent
#4EDA6B
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #97AF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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