#97B04C#97B04C

#97B04C is a light, vivid yellow-green. Relative luminance 0.382; OKLCH L 71.7% C 0.130 H 121.5°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#97B04C
RGBrgb(151, 176, 76)
HSLhsl(75, 40%, 49%)
HSVhsv(75, 57%, 69%)
CMYKcmyk(14.2%, 0%, 56.8%, 31%)
CIE-LABlab(68.13, -23.75, 47.49)
CIE-LCHlch(68.13, 53.10, 116.58°)
OKLaboklab(71.71% -0.0679 0.1108)
OKLCHoklch(71.71% 0.13 121.5)
XYZxyz(29.5926, 38.1518, 12.6411)
Luminance0.3815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B04C #654CB0
analogous
#B0974C #97B04C #65B04C
triadic
#97B04C #4C97B0 #B04C97
tetradic
#97B04C #4CB097 #654CB0 #B04C65
square
#97B04C #4CB097 #654CB0 #B04C65
split-complementary
#97B04C #4C65B0 #974CB0
monochromatic
#4E5B27 #72853A #97B04C #B0C476 #C9D6A0

Accessibility & contrast

On white

2.43
#97B04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#97B04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B04C
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B04C#FFFFFF#000000##000000
##97B04C1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA742
Deuteranopia (green-blind)
#B7A652
Tritanopia (blue-blind)
#9EA89A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #97b04c;
/* rgb */ color: rgb(151, 176, 76);
/* oklch */ color: oklch(71.7% 0.130 121.5);
Tailwind
colors: {
  custom: {
    50: '#b8c781',
    500: '#97b04c',
    950: '#000000',
  },
}
SCSS
$custom: #97b04c;
$custom-light: #b8c781;
$custom-dark: #000000;
JSON
{
  "hex": "#97b04c",
  "rgb": {
    "r": 151,
    "g": 176,
    "b": 76
  },
  "hsl": {
    "h": 75,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71708,
    "c": 0.12994,
    "h": 121.5
  },
  "luminance": 0.38152
}

Semantic roles & 50–950 ramp

primary
#97B04C
secondary
#A095C3
accent
#58D076
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #97B04C

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

Preview Lab → · Contrast checker → · Palette generator →

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