#97AF7C#97AF7C

#97AF7C is a light, moderate yellow-green. Relative luminance 0.387; OKLCH L 72.2% C 0.076 H 128.6°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#97AF7C
RGBrgb(151, 175, 124)
HSLhsl(88, 24%, 59%)
HSVhsv(88, 29%, 69%)
CMYKcmyk(13.7%, 0%, 29.1%, 31.4%)
CIE-LABlab(68.53, -17.50, 23.50)
CIE-LCHlch(68.53, 29.30, 126.67°)
OKLaboklab(72.25% -0.0473 0.0591)
OKLCHoklch(72.25% 0.076 128.6)
XYZxyz(31.7300, 38.6942, 24.8619)
Luminance0.3869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF7C #947CAF
analogous
#AFAD7C #97AF7C #7DAF7C
triadic
#97AF7C #7C97AF #AF7C97
tetradic
#97AF7C #7CAFAD #947CAF #AF7C7D
square
#97AF7C #7CAFAD #947CAF #AF7C7D
split-complementary
#97AF7C #7C7DAF #AD7CAF
monochromatic
#5A6E43 #79945A #97AF7C #B5C6A2 #D3DDC8

Accessibility & contrast

On white

2.40
#97AF7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#97AF7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF7C
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF7C#FFFFFF#000000##000000
##97AF7C1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A879
Deuteranopia (green-blind)
#B0A77E
Tritanopia (blue-blind)
#99AAA2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97af7c;
/* rgb */ color: rgb(151, 175, 124);
/* oklch */ color: oklch(72.2% 0.076 128.6);
Tailwind
colors: {
  custom: {
    50: '#b6c7a2',
    500: '#97af7c',
    950: '#000000',
  },
}
SCSS
$custom: #97af7c;
$custom-light: #b6c7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#97af7c",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 124
  },
  "hsl": {
    "h": 88.235,
    "s": 24.171,
    "l": 58.627
  },
  "oklch": {
    "l": 0.72249,
    "c": 0.0757,
    "h": 128.6
  },
  "luminance": 0.38694
}

Semantic roles & 50–950 ramp

primary
#97AF7C
secondary
#C3B9CD
accent
#67C191
background
#FBFCFA
surface
#F6F8F3
border
#D0D1CD
text
#11130F
muted
#80827F

Preview Lab

Preview with #97AF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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