#97AF4D#97AF4D

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

Color values

HEX#97AF4D
RGBrgb(151, 175, 77)
HSLhsl(75, 39%, 49%)
HSVhsv(75, 56%, 69%)
CMYKcmyk(13.7%, 0%, 56%, 31.4%)
CIE-LABlab(67.85, -23.17, 46.70)
CIE-LCHlch(67.85, 52.13, 116.39°)
OKLaboklab(71.49% -0.0661 0.1092)
OKLCHoklch(71.49% 0.128 121.2)
XYZxyz(29.4323, 37.7751, 12.7605)
Luminance0.3777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF4D #654DAF
analogous
#AF964D #97AF4D #66AF4D
triadic
#97AF4D #4D97AF #AF4D97
tetradic
#97AF4D #4DAF96 #654DAF #AF4D66
square
#97AF4D #4DAF96 #654DAF #AF4D66
split-complementary
#97AF4D #4D66AF #964DAF
monochromatic
#4E5A28 #72853A #97AF4D #B0C376 #C9D6A1

Accessibility & contrast

On white

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

On black

8.55
#97AF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF4D
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF4D#FFFFFF#000000##000000
##97AF4D1.002.458.558.55
#FFFFFF2.451.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A643
Deuteranopia (green-blind)
#B6A553
Tritanopia (blue-blind)
#9EA799
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #97af4d;
/* rgb */ color: rgb(151, 175, 77);
/* oklch */ color: oklch(71.5% 0.128 121.2);
Tailwind
colors: {
  custom: {
    50: '#b8c682',
    500: '#97af4d',
    950: '#000000',
  },
}
SCSS
$custom: #97af4d;
$custom-light: #b8c682;
$custom-dark: #000000;
JSON
{
  "hex": "#97af4d",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 77
  },
  "hsl": {
    "h": 74.694,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71488,
    "c": 0.12769,
    "h": 121.2
  },
  "luminance": 0.37775
}

Semantic roles & 50–950 ramp

primary
#97AF4D
secondary
#A095C3
accent
#59CF76
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #97AF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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