#97B940#97B940

#97B940 is a light, vivid yellow-green. Relative luminance 0.416; OKLCH L 73.7% C 0.152 H 123.6°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#97B940
RGBrgb(151, 185, 64)
HSLhsl(77, 49%, 49%)
HSVhsv(77, 65%, 73%)
CMYKcmyk(18.4%, 0%, 65.4%, 27.5%)
CIE-LABlab(70.63, -29.08, 55.50)
CIE-LCHlch(70.63, 62.66, 117.65°)
OKLaboklab(73.68% -0.0838 0.1263)
OKLCHoklch(73.68% 0.152 123.6)
XYZxyz(31.0371, 41.6472, 11.2531)
Luminance0.4165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B940 #6240B9
analogous
#B99F40 #97B940 #5BB940
triadic
#97B940 #4097B9 #B94097
tetradic
#97B940 #40B99F #6240B9 #B9405B
square
#97B940 #40B99F #6240B9 #B9405B
split-complementary
#97B940 #405BB9 #9F40B9
monochromatic
#4D5E21 #728C30 #97B940 #B0CC6B #C8DB98

Accessibility & contrast

On white

2.25
#97B940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#97B940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B940
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B940#FFFFFF#000000##000000
##97B9401.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE30
Deuteranopia (green-blind)
#BFAD49
Tritanopia (blue-blind)
#9EB0A0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #97b940;
/* rgb */ color: rgb(151, 185, 64);
/* oklch */ color: oklch(73.7% 0.152 123.6);
Tailwind
colors: {
  custom: {
    50: '#b8ce7b',
    500: '#97b940',
    950: '#000000',
  },
}
SCSS
$custom: #97b940;
$custom-light: #b8ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#97b940",
  "rgb": {
    "r": 151,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 76.86,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73684,
    "c": 0.15163,
    "h": 123.6
  },
  "luminance": 0.41647
}

Semantic roles & 50–950 ramp

primary
#97B940
secondary
#9E8EC7
accent
#50D876
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #97B940

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

Preview Lab → · Contrast checker → · Palette generator →

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