#97AF87#97AF87

#97AF87 is a light, moderate yellow-green. Relative luminance 0.390; OKLCH L 72.5% C 0.062 H 133.0°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#97AF87
RGBrgb(151, 175, 135)
HSLhsl(96, 20%, 61%)
HSVhsv(96, 23%, 69%)
CMYKcmyk(13.7%, 0%, 22.9%, 31.4%)
CIE-LABlab(68.74, -15.76, 17.83)
CIE-LCHlch(68.74, 23.79, 131.48°)
OKLaboklab(72.49% -0.0425 0.0455)
OKLCHoklch(72.49% 0.062 133)
XYZxyz(32.4649, 38.9881, 28.7320)
Luminance0.3899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF87 #9F87AF
analogous
#ABAF87 #97AF87 #87AF8B
triadic
#97AF87 #8797AF #AF8797
tetradic
#97AF87 #87ABAF #9F87AF #AF8B87
square
#97AF87 #87ABAF #9F87AF #AF8B87
split-complementary
#97AF87 #8B87AF #AF87AB
monochromatic
#5A714B #779564 #97AF87 #B7C7AC #D7E0D0

Accessibility & contrast

On white

2.39
#97AF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#97AF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF87
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF87#FFFFFF#000000##000000
##97AF871.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A985
Deuteranopia (green-blind)
#AFA789
Tritanopia (blue-blind)
#98ACA4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97af87;
/* rgb */ color: rgb(151, 175, 135);
/* oklch */ color: oklch(72.5% 0.062 133.0);
Tailwind
colors: {
  custom: {
    50: '#b6c7aa',
    500: '#97af87',
    950: '#000000',
  },
}
SCSS
$custom: #97af87;
$custom-light: #b6c7aa;
$custom-dark: #000000;
JSON
{
  "hex": "#97af87",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 135
  },
  "hsl": {
    "h": 96,
    "s": 20,
    "l": 60.784
  },
  "oklch": {
    "l": 0.72489,
    "c": 0.06221,
    "h": 133
  },
  "luminance": 0.38989
}

Semantic roles & 50–950 ramp

primary
#97AF87
secondary
#CAC1D0
accent
#479E7B
background
#FBFCFA
surface
#F6F8F4
border
#D0D1CE
text
#111310
muted
#80827F

Preview Lab

Preview with #97AF87

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

Preview Lab → · Contrast checker → · Palette generator →

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