#97BA4F#97BA4F

#97BA4F is a light, vivid yellow-green. Relative luminance 0.423; OKLCH L 74.1% C 0.141 H 124.9°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#97BA4F
RGBrgb(151, 186, 79)
HSLhsl(80, 44%, 52%)
HSVhsv(80, 58%, 73%)
CMYKcmyk(18.8%, 0%, 57.5%, 27.1%)
CIE-LABlab(71.05, -28.35, 49.43)
CIE-LCHlch(71.05, 56.98, 119.84°)
OKLaboklab(74.07% -0.0804 0.1153)
OKLCHoklch(74.07% 0.141 124.9)
XYZxyz(31.7328, 42.2613, 13.8811)
Luminance0.4226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BA4F #724FBA
analogous
#BAA74F #97BA4F #62BA4F
triadic
#97BA4F #4F97BA #BA4F97
tetradic
#97BA4F #4FBAA7 #724FBA #BA4F62
square
#97BA4F #4FBAA7 #724FBA #BA4F62
split-complementary
#97BA4F #4F62BA #A74FBA
monochromatic
#526628 #759239 #97BA4F #B1CB7B #CBDCA7

Accessibility & contrast

On white

2.22
#97BA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#97BA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97BA4F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97BA4F#FFFFFF#000000##000000
##97BA4F1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF44
Deuteranopia (green-blind)
#BFAE56
Tritanopia (blue-blind)
#9DB2A3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #97ba4f;
/* rgb */ color: rgb(151, 186, 79);
/* oklch */ color: oklch(74.1% 0.141 124.9);
Tailwind
colors: {
  custom: {
    50: '#b8ce84',
    500: '#97ba4f',
    950: '#000000',
  },
}
SCSS
$custom: #97ba4f;
$custom-light: #b8ce84;
$custom-dark: #000000;
JSON
{
  "hex": "#97ba4f",
  "rgb": {
    "r": 151,
    "g": 186,
    "b": 79
  },
  "hsl": {
    "h": 79.626,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74069,
    "c": 0.14057,
    "h": 124.9
  },
  "luminance": 0.42262
}

Semantic roles & 50–950 ramp

primary
#97BA4F
secondary
#AA9BCA
accent
#54D37E
background
#FBFCF8
surface
#F6F9EF
border
#D0D2CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #97BA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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