#97AC3B#97AC3B

#97AC3B is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.6% C 0.139 H 119.1°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#97AC3B
RGBrgb(151, 172, 59)
HSLhsl(71, 49%, 45%)
HSVhsv(71, 66%, 67%)
CMYKcmyk(12.2%, 0%, 65.7%, 32.5%)
CIE-LABlab(66.82, -23.11, 53.56)
CIE-LCHlch(66.82, 58.34, 113.33°)
OKLaboklab(70.61% -0.0677 0.1216)
OKLCHoklch(70.61% 0.139 119.1)
XYZxyz(28.3049, 36.4003, 9.6717)
Luminance0.3640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AC3B #503BAC
analogous
#AC883B #97AC3B #5FAC3B
triadic
#97AC3B #3B97AC #AC3B97
tetradic
#97AC3B #3BAC88 #503BAC #AC3B5F
square
#97AC3B #3BAC88 #503BAC #AC3B5F
split-complementary
#97AC3B #3B5FAC #883BAC
monochromatic
#47511C #6F7E2B #97AC3B #B4C75D #C9D78A

Accessibility & contrast

On white

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

On black

8.28
#97AC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AC3B
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AC3B#FFFFFF#000000##000000
##97AC3B1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97ac3b;
/* rgb */ color: rgb(151, 172, 59);
/* oklch */ color: oklch(70.6% 0.139 119.1);
Tailwind
colors: {
  custom: {
    50: '#b8c477',
    500: '#97ac3b',
    950: '#000000',
  },
}
SCSS
$custom: #97ac3b;
$custom-light: #b8c477;
$custom-dark: #000000;
JSON
{
  "hex": "#97ac3b",
  "rgb": {
    "r": 151,
    "g": 172,
    "b": 59
  },
  "hsl": {
    "h": 71.15,
    "s": 48.918,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70607,
    "c": 0.13915,
    "h": 119.1
  },
  "luminance": 0.364
}

Semantic roles & 50–950 ramp

primary
#97AC3B
secondary
#8D81C1
accent
#4FD869
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121209
muted
#81817B

Preview Lab

Preview with #97AC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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