#97BA3A#97BA3A

#97BA3A is a light, vivid yellow-green. Relative luminance 0.420; OKLCH L 73.9% C 0.157 H 123.5°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#97BA3A
RGBrgb(151, 186, 58)
HSLhsl(76, 52%, 48%)
HSVhsv(76, 69%, 73%)
CMYKcmyk(18.8%, 0%, 68.8%, 27.1%)
CIE-LABlab(70.87, -29.96, 58.15)
CIE-LCHlch(70.87, 65.41, 117.26°)
OKLaboklab(73.87% -0.0868 0.131)
OKLCHoklch(73.87% 0.157 123.5)
XYZxyz(31.0854, 42.0024, 10.4718)
Luminance0.4200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BA3A #5D3ABA
analogous
#BA9D3A #97BA3A #57BA3A
triadic
#97BA3A #3A97BA #BA3A97
tetradic
#97BA3A #3ABA9D #5D3ABA #BA3A57
square
#97BA3A #3ABA9D #5D3ABA #BA3A57
split-complementary
#97BA3A #3A57BA #9D3ABA
monochromatic
#4B5D1D #718B2B #97BA3A #B1CE63 #C8DD92

Accessibility & contrast

On white

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

On black

9.40
#97BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97BA3A
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97BA3A#FFFFFF#000000##000000
##97BA3A1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE26
Deuteranopia (green-blind)
#C0AD44
Tritanopia (blue-blind)
#9EB1A0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #97ba3a;
/* rgb */ color: rgb(151, 186, 58);
/* oklch */ color: oklch(73.9% 0.157 123.5);
Tailwind
colors: {
  custom: {
    50: '#b9ce78',
    500: '#97ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #97ba3a;
$custom-light: #b9ce78;
$custom-dark: #000000;
JSON
{
  "hex": "#97ba3a",
  "rgb": {
    "r": 151,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 76.406,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73868,
    "c": 0.15719,
    "h": 123.5
  },
  "luminance": 0.42003
}

Semantic roles & 50–950 ramp

primary
#97BA3A
secondary
#9988C8
accent
#4CDC73
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#121309
muted
#81827B

Preview Lab

Preview with #97BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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