#97B336#97B336

#97B336 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 72.2% C 0.151 H 121.3°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#97B336
RGBrgb(151, 179, 54)
HSLhsl(73, 54%, 46%)
HSVhsv(73, 70%, 70%)
CMYKcmyk(15.6%, 0%, 69.8%, 29.8%)
CIE-LABlab(68.81, -26.86, 57.60)
CIE-LCHlch(68.81, 63.55, 115.00°)
OKLaboklab(72.2% -0.0786 0.1293)
OKLCHoklch(72.2% 0.151 121.3)
XYZxyz(29.5489, 39.0859, 9.4769)
Luminance0.3909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B336 #5236B3
analogous
#B39036 #97B336 #58B336
triadic
#97B336 #3697B3 #B33697
tetradic
#97B336 #36B390 #5236B3 #B33658
square
#97B336 #36B390 #5236B3 #B33658
split-complementary
#97B336 #3658B3 #9036B3
monochromatic
#48551A #6F8428 #97B336 #B3CD59 #C9DB88

Accessibility & contrast

On white

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

On black

8.82
#97B336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B336
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B336#FFFFFF#000000##000000
##97B3361.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA822
Deuteranopia (green-blind)
#BAA840
Tritanopia (blue-blind)
#9FAA9A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97b336;
/* rgb */ color: rgb(151, 179, 54);
/* oklch */ color: oklch(72.2% 0.151 121.3);
Tailwind
colors: {
  custom: {
    50: '#b9c975',
    500: '#97b336',
    950: '#000000',
  },
}
SCSS
$custom: #97b336;
$custom-light: #b9c975;
$custom-dark: #000000;
JSON
{
  "hex": "#97b336",
  "rgb": {
    "r": 151,
    "g": 179,
    "b": 54
  },
  "hsl": {
    "h": 73.44,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72197,
    "c": 0.1513,
    "h": 121.3
  },
  "luminance": 0.39086
}

Semantic roles & 50–950 ramp

primary
#97B336
secondary
#8F80C5
accent
#4BDD6C
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #97B336

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

Preview Lab → · Contrast checker → · Palette generator →

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