#97AC2F#97AC2F

#97AC2F is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.5% C 0.147 H 118.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#97AC2F
RGBrgb(151, 172, 47)
HSLhsl(70, 57%, 43%)
HSVhsv(70, 73%, 67%)
CMYKcmyk(12.2%, 0%, 72.7%, 32.5%)
CIE-LABlab(66.74, -23.83, 58.14)
CIE-LCHlch(66.74, 62.84, 112.29°)
OKLaboklab(70.51% -0.0709 0.1293)
OKLCHoklch(70.51% 0.147 118.7)
XYZxyz(28.0287, 36.2898, 8.2168)
Luminance0.3629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AC2F #442FAC
analogous
#AC822F #97AC2F #58AC2F
triadic
#97AC2F #2F97AC #AC2F97
tetradic
#97AC2F #2FAC82 #442FAC #AC2F58
square
#97AC2F #2FAC82 #442FAC #AC2F58
split-complementary
#97AC2F #2F58AC #822FAC
monochromatic
#434C15 #6D7C22 #97AC2F #B8CE4B #CBDB7B

Accessibility & contrast

On white

2.54
#97AC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#97AC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AC2F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AC2F#FFFFFF#000000##000000
##97AC2F1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A218
Deuteranopia (green-blind)
#B5A339
Tritanopia (blue-blind)
#A0A394
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #97ac2f;
/* rgb */ color: rgb(151, 172, 47);
/* oklch */ color: oklch(70.5% 0.147 118.7);
Tailwind
colors: {
  custom: {
    50: '#b9c470',
    500: '#97ac2f',
    950: '#000000',
  },
}
SCSS
$custom: #97ac2f;
$custom-light: #b9c470;
$custom-dark: #000000;
JSON
{
  "hex": "#97ac2f",
  "rgb": {
    "r": 151,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 70.08,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70513,
    "c": 0.14744,
    "h": 118.7
  },
  "luminance": 0.3629
}

Semantic roles & 50–950 ramp

primary
#97AC2F
secondary
#8174C3
accent
#47E061
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97AC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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