#97B340#97B340

#97B340 is a light, vivid yellow-green. Relative luminance 0.392; OKLCH L 72.3% C 0.144 H 121.8°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#97B340
RGBrgb(151, 179, 64)
HSLhsl(75, 47%, 48%)
HSVhsv(75, 64%, 70%)
CMYKcmyk(15.6%, 0%, 64.2%, 29.8%)
CIE-LABlab(68.89, -26.19, 53.66)
CIE-LCHlch(68.89, 59.71, 116.02°)
OKLaboklab(72.28% -0.0758 0.1225)
OKLCHoklch(72.28% 0.144 121.8)
XYZxyz(29.8084, 39.1896, 10.8435)
Luminance0.3919 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B340 #5C40B3
analogous
#B39640 #97B340 #5DB340
triadic
#97B340 #4097B3 #B34097
tetradic
#97B340 #40B396 #5C40B3 #B3405D
square
#97B340 #40B396 #5C40B3 #B3405D
split-complementary
#97B340 #405DB3 #9640B3
monochromatic
#4B5920 #718630 #97B340 #B1C967 #C8D994

Accessibility & contrast

On white

2.38
#97B340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#97B340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B340
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B340#FFFFFF#000000##000000
##97B3401.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA931
Deuteranopia (green-blind)
#BAA848
Tritanopia (blue-blind)
#9FAA9B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97b340;
/* rgb */ color: rgb(151, 179, 64);
/* oklch */ color: oklch(72.3% 0.144 121.8);
Tailwind
colors: {
  custom: {
    50: '#b8c97a',
    500: '#97b340',
    950: '#000000',
  },
}
SCSS
$custom: #97b340;
$custom-light: #b8c97a;
$custom-dark: #000000;
JSON
{
  "hex": "#97b340",
  "rgb": {
    "r": 151,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 74.609,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72281,
    "c": 0.14403,
    "h": 121.8
  },
  "luminance": 0.3919
}

Semantic roles & 50–950 ramp

primary
#97B340
secondary
#998AC4
accent
#51D772
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #97B340

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

Preview Lab → · Contrast checker → · Palette generator →

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