#97AF5B#97AF5B

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

Color values

HEX#97AF5B
RGBrgb(151, 175, 91)
HSLhsl(77, 34%, 52%)
HSVhsv(77, 48%, 69%)
CMYKcmyk(13.7%, 0%, 48%, 31.4%)
CIE-LABlab(68.02, -21.78, 40.09)
CIE-LCHlch(68.02, 45.63, 118.51°)
OKLaboklab(71.67% -0.061 0.096)
OKLCHoklch(71.67% 0.114 122.4)
XYZxyz(29.9809, 37.9945, 15.6497)
Luminance0.3800 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF5B #735BAF
analogous
#AF9D5B #97AF5B #6DAF5B
triadic
#97AF5B #5B97AF #AF5B97
tetradic
#97AF5B #5BAF9D #735BAF #AF5B6D
square
#97AF5B #5BAF9D #735BAF #AF5B6D
split-complementary
#97AF5B #5B6DAF #9D5BAF
monochromatic
#52612F #768A43 #97AF5B #B1C384 #CBD7AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AF5B#FFFFFF#000000##000000
##97AF5B1.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)
#B8A654
Deuteranopia (green-blind)
#B4A660
Tritanopia (blue-blind)
#9DA89B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #97af5b;
/* rgb */ color: rgb(151, 175, 91);
/* oklch */ color: oklch(71.7% 0.114 122.4);
Tailwind
colors: {
  custom: {
    50: '#b7c78b',
    500: '#97af5b',
    950: '#000000',
  },
}
SCSS
$custom: #97af5b;
$custom-light: #b7c78b;
$custom-dark: #000000;
JSON
{
  "hex": "#97af5b",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 91
  },
  "hsl": {
    "h": 77.143,
    "s": 34.426,
    "l": 52.157
  },
  "oklch": {
    "l": 0.71671,
    "c": 0.11375,
    "h": 122.4
  },
  "luminance": 0.37995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #97AF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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