#97B04F#97B04F

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

Color values

HEX#97B04F
RGBrgb(151, 176, 79)
HSLhsl(75, 38%, 50%)
HSVhsv(75, 55%, 69%)
CMYKcmyk(14.2%, 0%, 55.1%, 31%)
CIE-LABlab(68.16, -23.48, 46.12)
CIE-LCHlch(68.16, 51.75, 116.99°)
OKLaboklab(71.74% -0.0668 0.1082)
OKLCHoklch(71.74% 0.127 121.7)
XYZxyz(29.6993, 38.1945, 13.2033)
Luminance0.3819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B04F #684FB0
analogous
#B0984F #97B04F #67B04F
triadic
#97B04F #4F97B0 #B04F97
tetradic
#97B04F #4FB098 #684FB0 #B04F67
square
#97B04F #4FB098 #684FB0 #B04F67
split-complementary
#97B04F #4F67B0 #984FB0
monochromatic
#4F5C29 #73863C #97B04F #B0C379 #C9D6A3

Accessibility & contrast

On white

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

On black

8.64
#97B04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B04F
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B04F#FFFFFF#000000##000000
##97B04F1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97b04f;
/* rgb */ color: rgb(151, 176, 79);
/* oklch */ color: oklch(71.7% 0.127 121.7);
Tailwind
colors: {
  custom: {
    50: '#b8c783',
    500: '#97b04f',
    950: '#000000',
  },
}
SCSS
$custom: #97b04f;
$custom-light: #b8c783;
$custom-dark: #000000;
JSON
{
  "hex": "#97b04f",
  "rgb": {
    "r": 151,
    "g": 176,
    "b": 79
  },
  "hsl": {
    "h": 75.464,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.71744,
    "c": 0.12715,
    "h": 121.7
  },
  "luminance": 0.38194
}

Semantic roles & 50–950 ramp

primary
#97B04F
secondary
#A398C3
accent
#5ACE78
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #97B04F

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

Preview Lab → · Contrast checker → · Palette generator →

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