#97B335#97B335

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

Color values

HEX#97B335
RGBrgb(151, 179, 53)
HSLhsl(73, 54%, 45%)
HSVhsv(73, 70%, 70%)
CMYKcmyk(15.6%, 0%, 70.4%, 29.8%)
CIE-LABlab(68.81, -26.92, 57.97)
CIE-LCHlch(68.81, 63.91, 114.91°)
OKLaboklab(72.19% -0.0789 0.1299)
OKLCHoklch(72.19% 0.152 121.3)
XYZxyz(29.5256, 39.0766, 9.3545)
Luminance0.3908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B335 #5135B3
analogous
#B39035 #97B335 #58B335
triadic
#97B335 #3597B3 #B33597
tetradic
#97B335 #35B390 #5135B3 #B33558
square
#97B335 #35B390 #5135B3 #B33558
split-complementary
#97B335 #3558B3 #9035B3
monochromatic
#475519 #6F8427 #97B335 #B3CD58 #C9DB87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97B335#FFFFFF#000000##000000
##97B3351.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)
#BEA820
Deuteranopia (green-blind)
#BAA83F
Tritanopia (blue-blind)
#9FAA9A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97b335;
/* rgb */ color: rgb(151, 179, 53);
/* oklch */ color: oklch(72.2% 0.152 121.3);
Tailwind
colors: {
  custom: {
    50: '#b9c974',
    500: '#97b335',
    950: '#000000',
  },
}
SCSS
$custom: #97b335;
$custom-light: #b9c974;
$custom-dark: #000000;
JSON
{
  "hex": "#97b335",
  "rgb": {
    "r": 151,
    "g": 179,
    "b": 53
  },
  "hsl": {
    "h": 73.333,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72189,
    "c": 0.15196,
    "h": 121.3
  },
  "luminance": 0.39077
}

Semantic roles & 50–950 ramp

primary
#97B335
secondary
#8E7FC5
accent
#4ADE6B
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #97B335

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

Preview Lab → · Contrast checker → · Palette generator →

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