#97AF5C#97AF5C

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

Color values

HEX#97AF5C
RGBrgb(151, 175, 92)
HSLhsl(77, 34%, 52%)
HSVhsv(77, 47%, 69%)
CMYKcmyk(13.7%, 0%, 47.4%, 31.4%)
CIE-LABlab(68.03, -21.67, 39.61)
CIE-LCHlch(68.03, 45.15, 118.69°)
OKLaboklab(71.69% -0.0606 0.095)
OKLCHoklch(71.69% 0.113 122.5)
XYZxyz(30.0243, 38.0119, 15.8784)
Luminance0.3801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF5C #745CAF
analogous
#AF9D5C #97AF5C #6EAF5C
triadic
#97AF5C #5C97AF #AF5C97
tetradic
#97AF5C #5CAF9D #745CAF #AF5C6E
square
#97AF5C #5CAF9D #745CAF #AF5C6E
split-complementary
#97AF5C #5C6EAF #9D5CAF
monochromatic
#536130 #768A44 #97AF5C #B1C385 #CBD7AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AF5C#FFFFFF#000000##000000
##97AF5C1.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)
#B8A655
Deuteranopia (green-blind)
#B4A661
Tritanopia (blue-blind)
#9DA89C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #97af5c;
/* rgb */ color: rgb(151, 175, 92);
/* oklch */ color: oklch(71.7% 0.113 122.5);
Tailwind
colors: {
  custom: {
    50: '#b7c78c',
    500: '#97af5c',
    950: '#000000',
  },
}
SCSS
$custom: #97af5c;
$custom-light: #b7c78c;
$custom-dark: #000000;
JSON
{
  "hex": "#97af5c",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 92
  },
  "hsl": {
    "h": 77.349,
    "s": 34.156,
    "l": 52.353
  },
  "oklch": {
    "l": 0.71685,
    "c": 0.11269,
    "h": 122.5
  },
  "luminance": 0.38012
}

Semantic roles & 50–950 ramp

primary
#97AF5C
secondary
#ACA1C5
accent
#5ECA7D
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #97AF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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