#97AC40#97AC40

#97AC40 is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 70.7% C 0.135 H 119.3°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#97AC40
RGBrgb(151, 172, 64)
HSLhsl(72, 46%, 46%)
HSVhsv(72, 63%, 67%)
CMYKcmyk(12.2%, 0%, 62.8%, 32.5%)
CIE-LABlab(66.87, -22.75, 51.49)
CIE-LCHlch(66.87, 56.29, 113.84°)
OKLaboklab(70.65% -0.0662 0.1179)
OKLCHoklch(70.65% 0.135 119.3)
XYZxyz(28.4409, 36.4547, 10.3877)
Luminance0.3645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AC40 #5540AC
analogous
#AC8B40 #97AC40 #61AC40
triadic
#97AC40 #4097AC #AC4097
tetradic
#97AC40 #40AC8B #5540AC #AC4061
square
#97AC40 #40AC8B #5540AC #AC4061
split-complementary
#97AC40 #4061AC #8B40AC
monochromatic
#49531F #707F2F #97AC40 #B2C564 #C8D691

Accessibility & contrast

On white

2.53
#97AC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#97AC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AC40
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AC40#FFFFFF#000000##000000
##97AC401.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A333
Deuteranopia (green-blind)
#B4A347
Tritanopia (blue-blind)
#9FA395
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #97ac40;
/* rgb */ color: rgb(151, 172, 64);
/* oklch */ color: oklch(70.7% 0.135 119.3);
Tailwind
colors: {
  custom: {
    50: '#b8c47a',
    500: '#97ac40',
    950: '#000000',
  },
}
SCSS
$custom: #97ac40;
$custom-light: #b8c47a;
$custom-dark: #000000;
JSON
{
  "hex": "#97ac40",
  "rgb": {
    "r": 151,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 71.667,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70654,
    "c": 0.1352,
    "h": 119.3
  },
  "luminance": 0.36455
}

Semantic roles & 50–950 ramp

primary
#97AC40
secondary
#9287C1
accent
#52D56C
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#121209
muted
#81817B

Preview Lab

Preview with #97AC40

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

Preview Lab → · Contrast checker → · Palette generator →

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