#97AB3F#97AB3F

#97AB3F is a light, vivid yellow-green. Relative luminance 0.361; OKLCH L 70.4% C 0.135 H 118.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#97AB3F
RGBrgb(151, 171, 63)
HSLhsl(71, 46%, 46%)
HSVhsv(71, 63%, 67%)
CMYKcmyk(11.7%, 0%, 63.2%, 32.9%)
CIE-LABlab(66.57, -22.33, 51.60)
CIE-LCHlch(66.57, 56.22, 113.40°)
OKLaboklab(70.41% -0.0652 0.118)
OKLCHoklch(70.41% 0.135 118.9)
XYZxyz(28.2231, 36.0642, 10.1759)
Luminance0.3606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AB3F #533FAB
analogous
#AB893F #97AB3F #61AB3F
triadic
#97AB3F #3F97AB #AB3F97
tetradic
#97AB3F #3FAB89 #533FAB #AB3F61
square
#97AB3F #3FAB89 #533FAB #AB3F61
split-complementary
#97AB3F #3F61AB #893FAB
monochromatic
#48521E #707E2F #97AB3F #B3C562 #C9D68F

Accessibility & contrast

On white

2.56
#97AB3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#97AB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AB3F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AB3F#FFFFFF#000000##000000
##97AB3F1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A232
Deuteranopia (green-blind)
#B3A246
Tritanopia (blue-blind)
#9FA294
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #97ab3f;
/* rgb */ color: rgb(151, 171, 63);
/* oklch */ color: oklch(70.4% 0.135 118.9);
Tailwind
colors: {
  custom: {
    50: '#b8c479',
    500: '#97ab3f',
    950: '#000000',
  },
}
SCSS
$custom: #97ab3f;
$custom-light: #b8c479;
$custom-dark: #000000;
JSON
{
  "hex": "#97ab3f",
  "rgb": {
    "r": 151,
    "g": 171,
    "b": 63
  },
  "hsl": {
    "h": 71.111,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70412,
    "c": 0.13477,
    "h": 118.9
  },
  "luminance": 0.36064
}

Semantic roles & 50–950 ramp

primary
#97AB3F
secondary
#9085C1
accent
#52D66A
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#121209
muted
#81817B

Preview Lab

Preview with #97AB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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