#97AF62#97AF62

#97AF62 is a light, moderate yellow-green. Relative luminance 0.381; OKLCH L 71.8% C 0.106 H 123.2°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#97AF62
RGBrgb(151, 175, 98)
HSLhsl(79, 32%, 54%)
HSVhsv(79, 44%, 69%)
CMYKcmyk(13.7%, 0%, 44%, 31.4%)
CIE-LABlab(68.11, -20.99, 36.66)
CIE-LCHlch(68.11, 42.24, 119.79°)
OKLaboklab(71.78% -0.0582 0.0888)
OKLCHoklch(71.78% 0.106 123.2)
XYZxyz(30.2970, 38.1210, 17.3149)
Luminance0.3812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF62 #7A62AF
analogous
#AFA062 #97AF62 #70AF62
triadic
#97AF62 #6297AF #AF6297
tetradic
#97AF62 #62AFA0 #7A62AF #AF6270
square
#97AF62 #62AFA0 #7A62AF #AF6270
split-complementary
#97AF62 #6270AF #A062AF
monochromatic
#556433 #778C47 #97AF62 #B2C48B #CDD8B3

Accessibility & contrast

On white

2.44
#97AF62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#97AF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF62
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF62#FFFFFF#000000##000000
##97AF621.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A75C
Deuteranopia (green-blind)
#B4A666
Tritanopia (blue-blind)
#9CA89D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #97af62;
/* rgb */ color: rgb(151, 175, 98);
/* oklch */ color: oklch(71.8% 0.106 123.2);
Tailwind
colors: {
  custom: {
    50: '#b7c790',
    500: '#97af62',
    950: '#000000',
  },
}
SCSS
$custom: #97af62;
$custom-light: #b7c790;
$custom-dark: #000000;
JSON
{
  "hex": "#97af62",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 98
  },
  "hsl": {
    "h": 78.701,
    "s": 32.489,
    "l": 53.529
  },
  "oklch": {
    "l": 0.71776,
    "c": 0.1062,
    "h": 123.2
  },
  "luminance": 0.38121
}

Semantic roles & 50–950 ramp

primary
#97AF62
secondary
#B0A6C7
accent
#5FC980
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #97AF62

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

Preview Lab → · Contrast checker → · Palette generator →

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