#97AF5A#97AF5A

#97AF5A is a light, moderate yellow-green. Relative luminance 0.380; OKLCH L 71.7% C 0.115 H 122.3°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#97AF5A
RGBrgb(151, 175, 90)
HSLhsl(77, 35%, 52%)
HSVhsv(77, 49%, 69%)
CMYKcmyk(13.7%, 0%, 48.6%, 31.4%)
CIE-LABlab(68.00, -21.89, 40.58)
CIE-LCHlch(68.00, 46.10, 118.34°)
OKLaboklab(71.66% -0.0614 0.097)
OKLCHoklch(71.66% 0.115 122.3)
XYZxyz(29.9380, 37.9774, 15.4240)
Luminance0.3798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF5A #725AAF
analogous
#AF9D5A #97AF5A #6DAF5A
triadic
#97AF5A #5A97AF #AF5A97
tetradic
#97AF5A #5AAF9D #725AAF #AF5A6D
square
#97AF5A #5AAF9D #725AAF #AF5A6D
split-complementary
#97AF5A #5A6DAF #9D5AAF
monochromatic
#52602F #758943 #97AF5A #B1C383 #CBD7AC

Accessibility & contrast

On white

2.44
#97AF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#97AF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF5A
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF5A#FFFFFF#000000##000000
##97AF5A1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A653
Deuteranopia (green-blind)
#B5A65F
Tritanopia (blue-blind)
#9DA89B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #97af5a;
/* rgb */ color: rgb(151, 175, 90);
/* oklch */ color: oklch(71.7% 0.115 122.3);
Tailwind
colors: {
  custom: {
    50: '#b7c78a',
    500: '#97af5a',
    950: '#000000',
  },
}
SCSS
$custom: #97af5a;
$custom-light: #b7c78a;
$custom-dark: #000000;
JSON
{
  "hex": "#97af5a",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 90
  },
  "hsl": {
    "h": 76.941,
    "s": 34.694,
    "l": 51.961
  },
  "oklch": {
    "l": 0.71657,
    "c": 0.1148,
    "h": 122.3
  },
  "luminance": 0.37977
}

Semantic roles & 50–950 ramp

primary
#97AF5A
secondary
#AAA0C5
accent
#5DCB7C
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #97AF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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