#97AF7B#97AF7B

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

Color values

HEX#97AF7B
RGBrgb(151, 175, 123)
HSLhsl(88, 25%, 58%)
HSVhsv(88, 30%, 69%)
CMYKcmyk(13.7%, 0%, 29.7%, 31.4%)
CIE-LABlab(68.51, -17.65, 24.01)
CIE-LCHlch(68.51, 29.80, 126.31°)
OKLaboklab(72.23% -0.0477 0.0603)
OKLCHoklch(72.23% 0.077 128.3)
XYZxyz(31.6671, 38.6690, 24.5306)
Luminance0.3867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF7B #937BAF
analogous
#AFAD7B #97AF7B #7DAF7B
triadic
#97AF7B #7B97AF #AF7B97
tetradic
#97AF7B #7BAFAD #937BAF #AF7B7D
square
#97AF7B #7BAFAD #937BAF #AF7B7D
split-complementary
#97AF7B #7B7DAF #AD7BAF
monochromatic
#596D42 #799359 #97AF7B #B5C6A1 #D3DDC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AF7B#FFFFFF#000000##000000
##97AF7B1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A878
Deuteranopia (green-blind)
#B1A77D
Tritanopia (blue-blind)
#99AAA1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97af7b;
/* rgb */ color: rgb(151, 175, 123);
/* oklch */ color: oklch(72.2% 0.077 128.3);
Tailwind
colors: {
  custom: {
    50: '#b6c7a1',
    500: '#97af7b',
    950: '#000000',
  },
}
SCSS
$custom: #97af7b;
$custom-light: #b6c7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#97af7b",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 123
  },
  "hsl": {
    "h": 87.692,
    "s": 24.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.72228,
    "c": 0.07691,
    "h": 128.3
  },
  "luminance": 0.38669
}

Semantic roles & 50–950 ramp

primary
#97AF7B
secondary
#C2B9CD
accent
#67C190
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#11130F
muted
#80827E

Preview Lab

Preview with #97AF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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