#97AF71#97AF71

#97AF71 is a light, moderate yellow-green. Relative luminance 0.384; OKLCH L 72.0% C 0.089 H 125.8°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#97AF71
RGBrgb(151, 175, 113)
HSLhsl(83, 28%, 56%)
HSVhsv(83, 35%, 69%)
CMYKcmyk(13.7%, 0%, 35.4%, 31.4%)
CIE-LABlab(68.34, -19.08, 29.13)
CIE-LCHlch(68.34, 34.82, 123.23°)
OKLaboklab(72.03% -0.052 0.0722)
OKLCHoklch(72.03% 0.089 125.8)
XYZxyz(31.0728, 38.4313, 21.4006)
Luminance0.3843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF71 #8971AF
analogous
#AFA871 #97AF71 #78AF71
triadic
#97AF71 #7197AF #AF7197
tetradic
#97AF71 #71AFA8 #8971AF #AF7178
square
#97AF71 #71AFA8 #8971AF #AF7178
split-complementary
#97AF71 #7178AF #A871AF
monochromatic
#586A3C #799152 #97AF71 #B4C598 #D0DBBF

Accessibility & contrast

On white

2.42
#97AF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#97AF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF71
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF71#FFFFFF#000000##000000
##97AF711.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A76D
Deuteranopia (green-blind)
#B2A674
Tritanopia (blue-blind)
#9BA99F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97af71;
/* rgb */ color: rgb(151, 175, 113);
/* oklch */ color: oklch(72.0% 0.089 125.8);
Tailwind
colors: {
  custom: {
    50: '#b6c79a',
    500: '#97af71',
    950: '#000000',
  },
}
SCSS
$custom: #97af71;
$custom-light: #b6c79a;
$custom-dark: #000000;
JSON
{
  "hex": "#97af71",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 113
  },
  "hsl": {
    "h": 83.226,
    "s": 27.928,
    "l": 56.471
  },
  "oklch": {
    "l": 0.72032,
    "c": 0.08896,
    "h": 125.8
  },
  "luminance": 0.38432
}

Semantic roles & 50–950 ramp

primary
#97AF71
secondary
#BBB1CB
accent
#64C489
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#11130E
muted
#80827E

Preview Lab

Preview with #97AF71

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

Preview Lab → · Contrast checker → · Palette generator →

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