#97AF52#97AF52

#97AF52 is a light, vivid yellow-green. Relative luminance 0.378; OKLCH L 71.5% C 0.123 H 121.6°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#97AF52
RGBrgb(151, 175, 82)
HSLhsl(75, 37%, 50%)
HSVhsv(75, 53%, 69%)
CMYKcmyk(13.7%, 0%, 53.1%, 31.4%)
CIE-LABlab(67.91, -22.70, 44.39)
CIE-LCHlch(67.91, 49.86, 117.09°)
OKLaboklab(71.55% -0.0644 0.1047)
OKLCHoklch(71.55% 0.123 121.6)
XYZxyz(29.6157, 37.8484, 13.7263)
Luminance0.3785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF52 #6A52AF
analogous
#AF9852 #97AF52 #68AF52
triadic
#97AF52 #5297AF #AF5297
tetradic
#97AF52 #52AF98 #6A52AF #AF5268
square
#97AF52 #52AF98 #6A52AF #AF5268
split-complementary
#97AF52 #5268AF #9852AF
monochromatic
#4F5C2B #73863E #97AF52 #B0C27C #C9D6A6

Accessibility & contrast

On white

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

On black

8.57
#97AF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF52
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF52#FFFFFF#000000##000000
##97AF521.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A649
Deuteranopia (green-blind)
#B5A658
Tritanopia (blue-blind)
#9EA79A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #97af52;
/* rgb */ color: rgb(151, 175, 82);
/* oklch */ color: oklch(71.5% 0.123 121.6);
Tailwind
colors: {
  custom: {
    50: '#b7c785',
    500: '#97af52',
    950: '#000000',
  },
}
SCSS
$custom: #97af52;
$custom-light: #b7c785;
$custom-dark: #000000;
JSON
{
  "hex": "#97af52",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 82
  },
  "hsl": {
    "h": 75.484,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71549,
    "c": 0.12291,
    "h": 121.6
  },
  "luminance": 0.37848
}

Semantic roles & 50–950 ramp

primary
#97AF52
secondary
#A49AC3
accent
#5BCD78
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#11130B
muted
#80827C

Preview Lab

Preview with #97AF52

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

Preview Lab → · Contrast checker → · Palette generator →

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