#97AF4A#97AF4A

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

Color values

HEX#97AF4A
RGBrgb(151, 175, 74)
HSLhsl(74, 41%, 49%)
HSVhsv(74, 58%, 69%)
CMYKcmyk(13.7%, 0%, 57.7%, 31.4%)
CIE-LABlab(67.82, -23.44, 48.06)
CIE-LCHlch(67.82, 53.47, 115.99°)
OKLaboklab(71.45% -0.0672 0.1118)
OKLCHoklch(71.45% 0.13 121)
XYZxyz(29.3288, 37.7337, 12.2155)
Luminance0.3773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF4A #624AAF
analogous
#AF954A #97AF4A #65AF4A
triadic
#97AF4A #4A97AF #AF4A97
tetradic
#97AF4A #4AAF95 #624AAF #AF4A65
square
#97AF4A #4AAF95 #624AAF #AF4A65
split-complementary
#97AF4A #4A65AF #954AAF
monochromatic
#4D5926 #728438 #97AF4A #B0C473 #C8D69E

Accessibility & contrast

On white

2.46
#97AF4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AF4A#FFFFFF#000000##000000
##97AF4A1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97af4a;
/* rgb */ color: rgb(151, 175, 74);
/* oklch */ color: oklch(71.5% 0.130 121.0);
Tailwind
colors: {
  custom: {
    50: '#b8c680',
    500: '#97af4a',
    950: '#000000',
  },
}
SCSS
$custom: #97af4a;
$custom-light: #b8c680;
$custom-dark: #000000;
JSON
{
  "hex": "#97af4a",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 74
  },
  "hsl": {
    "h": 74.257,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71454,
    "c": 0.13044,
    "h": 121
  },
  "luminance": 0.37734
}

Semantic roles & 50–950 ramp

primary
#97AF4A
secondary
#9E92C2
accent
#57D074
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130A
muted
#81827C

Preview Lab

Preview with #97AF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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