#97AF2F#97AF2F

#97AF2F is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 71.2% C 0.151 H 119.8°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#97AF2F
RGBrgb(151, 175, 47)
HSLhsl(71, 58%, 44%)
HSVhsv(71, 73%, 69%)
CMYKcmyk(13.7%, 0%, 73.1%, 31.4%)
CIE-LABlab(67.61, -25.31, 58.98)
CIE-LCHlch(67.61, 64.18, 113.22°)
OKLaboklab(71.21% -0.075 0.131)
OKLCHoklch(71.21% 0.151 119.8)
XYZxyz(28.6061, 37.4446, 8.4093)
Luminance0.3744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF2F #472FAF
analogous
#AF872F #97AF2F #57AF2F
triadic
#97AF2F #2F97AF #AF2F97
tetradic
#97AF2F #2FAF87 #472FAF #AF2F57
square
#97AF2F #2FAF87 #472FAF #AF2F57
split-complementary
#97AF2F #2F57AF #872FAF
monochromatic
#444F15 #6D7F22 #97AF2F #B6CF4C #CADC7C

Accessibility & contrast

On white

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

On black

8.49
#97AF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF2F
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF2F#FFFFFF#000000##000000
##97AF2F1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA516
Deuteranopia (green-blind)
#B7A53A
Tritanopia (blue-blind)
#A0A696
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #97af2f;
/* rgb */ color: rgb(151, 175, 47);
/* oklch */ color: oklch(71.2% 0.151 119.8);
Tailwind
colors: {
  custom: {
    50: '#b9c671',
    500: '#97af2f',
    950: '#000000',
  },
}
SCSS
$custom: #97af2f;
$custom-light: #b9c671;
$custom-dark: #000000;
JSON
{
  "hex": "#97af2f",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 71.25,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71212,
    "c": 0.15097,
    "h": 119.8
  },
  "luminance": 0.37444
}

Semantic roles & 50–950 ramp

primary
#97AF2F
secondary
#8475C4
accent
#47E164
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97AF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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