#97BA3F#97BA3F

#97BA3F is a light, vivid yellow-green. Relative luminance 0.421; OKLCH L 73.9% C 0.154 H 123.8°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#97BA3F
RGBrgb(151, 186, 63)
HSLhsl(77, 49%, 49%)
HSVhsv(77, 66%, 73%)
CMYKcmyk(18.8%, 0%, 66.1%, 27.1%)
CIE-LABlab(70.91, -29.63, 56.21)
CIE-LCHlch(70.91, 63.54, 117.79°)
OKLaboklab(73.91% -0.0854 0.1277)
OKLCHoklch(73.91% 0.154 123.8)
XYZxyz(31.2189, 42.0558, 11.1745)
Luminance0.4206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BA3F #623FBA
analogous
#BAA03F #97BA3F #5ABA3F
triadic
#97BA3F #3F97BA #BA3F97
tetradic
#97BA3F #3FBAA0 #623FBA #BA3F5A
square
#97BA3F #3FBAA0 #623FBA #BA3F5A
split-complementary
#97BA3F #3F5ABA #A03FBA
monochromatic
#4D5F20 #728C30 #97BA3F #B0CC6A #C8DC97

Accessibility & contrast

On white

2.23
#97BA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#97BA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97BA3F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97BA3F#FFFFFF#000000##000000
##97BA3F1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF2E
Deuteranopia (green-blind)
#C0AD48
Tritanopia (blue-blind)
#9EB1A1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #97ba3f;
/* rgb */ color: rgb(151, 186, 63);
/* oklch */ color: oklch(73.9% 0.154 123.8);
Tailwind
colors: {
  custom: {
    50: '#b9ce7a',
    500: '#97ba3f',
    950: '#000000',
  },
}
SCSS
$custom: #97ba3f;
$custom-light: #b9ce7a;
$custom-dark: #000000;
JSON
{
  "hex": "#97ba3f",
  "rgb": {
    "r": 151,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 77.073,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73909,
    "c": 0.15364,
    "h": 123.8
  },
  "luminance": 0.42056
}

Semantic roles & 50–950 ramp

primary
#97BA3F
secondary
#9E8DC8
accent
#4FD976
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #97BA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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