#97AF57#97AF57

#97AF57 is a light, moderate yellow-green. Relative luminance 0.379; OKLCH L 71.6% C 0.118 H 122.0°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#97AF57
RGBrgb(151, 175, 87)
HSLhsl(76, 35%, 51%)
HSVhsv(76, 50%, 69%)
CMYKcmyk(13.7%, 0%, 50.3%, 31.4%)
CIE-LABlab(67.97, -22.20, 42.02)
CIE-LCHlch(67.97, 47.52, 117.85°)
OKLaboklab(71.61% -0.0625 0.1)
OKLCHoklch(71.61% 0.118 122)
XYZxyz(29.8129, 37.9273, 14.7651)
Luminance0.3793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF57 #6F57AF
analogous
#AF9B57 #97AF57 #6BAF57
triadic
#97AF57 #5797AF #AF5797
tetradic
#97AF57 #57AF9B #6F57AF #AF576B
square
#97AF57 #57AF9B #6F57AF #AF576B
split-complementary
#97AF57 #576BAF #9B57AF
monochromatic
#515F2D #758841 #97AF57 #B1C380 #CAD6AA

Accessibility & contrast

On white

2.45
#97AF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#97AF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF57
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF57#FFFFFF#000000##000000
##97AF571.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A64F
Deuteranopia (green-blind)
#B5A65C
Tritanopia (blue-blind)
#9DA79B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #97af57;
/* rgb */ color: rgb(151, 175, 87);
/* oklch */ color: oklch(71.6% 0.118 122.0);
Tailwind
colors: {
  custom: {
    50: '#b7c788',
    500: '#97af57',
    950: '#000000',
  },
}
SCSS
$custom: #97af57;
$custom-light: #b7c788;
$custom-dark: #000000;
JSON
{
  "hex": "#97af57",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 87
  },
  "hsl": {
    "h": 76.364,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.71615,
    "c": 0.1179,
    "h": 122
  },
  "luminance": 0.37927
}

Semantic roles & 50–950 ramp

primary
#97AF57
secondary
#A89EC4
accent
#5CCC7B
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #97AF57

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

Preview Lab → · Contrast checker → · Palette generator →

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