#97AF79#97AF79

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

Color values

HEX#97AF79
RGBrgb(151, 175, 121)
HSLhsl(87, 25%, 58%)
HSVhsv(87, 31%, 69%)
CMYKcmyk(13.7%, 0%, 30.9%, 31.4%)
CIE-LABlab(68.47, -17.94, 25.04)
CIE-LCHlch(68.47, 30.80, 125.63°)
OKLaboklab(72.19% -0.0486 0.0628)
OKLCHoklch(72.19% 0.079 127.7)
XYZxyz(31.5432, 38.6195, 23.8779)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF79 #9179AF
analogous
#AFAC79 #97AF79 #7CAF79
triadic
#97AF79 #7997AF #AF7997
tetradic
#97AF79 #79AFAC #9179AF #AF797C
square
#97AF79 #79AFAC #9179AF #AF797C
split-complementary
#97AF79 #797CAF #AC79AF
monochromatic
#596D41 #799358 #97AF79 #B5C69F #D2DDC6

Accessibility & contrast

On white

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

On black

8.72
#97AF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF79
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF79#FFFFFF#000000##000000
##97AF791.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97af79;
/* rgb */ color: rgb(151, 175, 121);
/* oklch */ color: oklch(72.2% 0.079 127.7);
Tailwind
colors: {
  custom: {
    50: '#b6c7a0',
    500: '#97af79',
    950: '#000000',
  },
}
SCSS
$custom: #97af79;
$custom-light: #b6c7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#97af79",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 121
  },
  "hsl": {
    "h": 86.667,
    "s": 25.234,
    "l": 58.039
  },
  "oklch": {
    "l": 0.72187,
    "c": 0.07935,
    "h": 127.7
  },
  "luminance": 0.3862
}

Semantic roles & 50–950 ramp

primary
#97AF79
secondary
#C1B7CD
accent
#66C28F
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#11130E
muted
#80827E

Preview Lab

Preview with #97AF79

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

Preview Lab → · Contrast checker → · Palette generator →

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