#97AF4F#97AF4F

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

Color values

HEX#97AF4F
RGBrgb(151, 175, 79)
HSLhsl(75, 38%, 50%)
HSVhsv(75, 55%, 69%)
CMYKcmyk(13.7%, 0%, 54.9%, 31.4%)
CIE-LABlab(67.88, -22.99, 45.78)
CIE-LCHlch(67.88, 51.23, 116.66°)
OKLaboklab(71.51% -0.0654 0.1075)
OKLCHoklch(71.51% 0.126 121.3)
XYZxyz(29.5040, 37.8038, 13.1382)
Luminance0.3780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF4F #674FAF
analogous
#AF974F #97AF4F #67AF4F
triadic
#97AF4F #4F97AF #AF4F97
tetradic
#97AF4F #4FAF97 #674FAF #AF4F67
square
#97AF4F #4FAF97 #674FAF #AF4F67
split-complementary
#97AF4F #4F67AF #974FAF
monochromatic
#4E5B29 #73853C #97AF4F #B0C279 #C9D5A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AF4F#FFFFFF#000000##000000
##97AF4F1.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)
#B9A646
Deuteranopia (green-blind)
#B5A555
Tritanopia (blue-blind)
#9EA79A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #97af4f;
/* rgb */ color: rgb(151, 175, 79);
/* oklch */ color: oklch(71.5% 0.126 121.3);
Tailwind
colors: {
  custom: {
    50: '#b7c683',
    500: '#97af4f',
    950: '#000000',
  },
}
SCSS
$custom: #97af4f;
$custom-light: #b7c683;
$custom-dark: #000000;
JSON
{
  "hex": "#97af4f",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 79
  },
  "hsl": {
    "h": 75,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.71512,
    "c": 0.12581,
    "h": 121.3
  },
  "luminance": 0.37804
}

Semantic roles & 50–950 ramp

primary
#97AF4F
secondary
#A297C3
accent
#5ACE77
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #97AF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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