#97AF7A#97AF7A

#97AF7A is a light, moderate yellow-green. Relative luminance 0.386; OKLCH L 72.2% C 0.078 H 128.0°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#97AF7A
RGBrgb(151, 175, 122)
HSLhsl(87, 25%, 58%)
HSVhsv(87, 30%, 69%)
CMYKcmyk(13.7%, 0%, 30.3%, 31.4%)
CIE-LABlab(68.49, -17.80, 24.52)
CIE-LCHlch(68.49, 30.30, 125.96°)
OKLaboklab(72.21% -0.0481 0.0616)
OKLCHoklch(72.21% 0.078 128)
XYZxyz(31.6048, 38.6441, 24.2026)
Luminance0.3864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF7A #927AAF
analogous
#AFAC7A #97AF7A #7CAF7A
triadic
#97AF7A #7A97AF #AF7A97
tetradic
#97AF7A #7AAFAC #927AAF #AF7A7C
square
#97AF7A #7AAFAC #927AAF #AF7A7C
split-complementary
#97AF7A #7A7CAF #AC7AAF
monochromatic
#596D42 #799359 #97AF7A #B5C6A0 #D3DDC6

Accessibility & contrast

On white

2.41
#97AF7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#97AF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF7A
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF7A#FFFFFF#000000##000000
##97AF7A1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A877
Deuteranopia (green-blind)
#B1A77C
Tritanopia (blue-blind)
#9AAAA1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97af7a;
/* rgb */ color: rgb(151, 175, 122);
/* oklch */ color: oklch(72.2% 0.078 128.0);
Tailwind
colors: {
  custom: {
    50: '#b6c7a1',
    500: '#97af7a',
    950: '#000000',
  },
}
SCSS
$custom: #97af7a;
$custom-light: #b6c7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#97af7a",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 122
  },
  "hsl": {
    "h": 87.17,
    "s": 24.883,
    "l": 58.235
  },
  "oklch": {
    "l": 0.72208,
    "c": 0.07813,
    "h": 128
  },
  "luminance": 0.38644
}

Semantic roles & 50–950 ramp

primary
#97AF7A
secondary
#C1B8CD
accent
#66C190
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#11130F
muted
#80827E

Preview Lab

Preview with #97AF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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