#97B328#97B328

#97B328 is a light, vivid yellow-green. Relative luminance 0.390; OKLCH L 72.1% C 0.160 H 120.8°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#97B328
RGBrgb(151, 179, 40)
HSLhsl(72, 63%, 43%)
HSVhsv(72, 78%, 70%)
CMYKcmyk(15.6%, 0%, 77.7%, 29.8%)
CIE-LABlab(68.73, -27.59, 62.36)
CIE-LCHlch(68.73, 68.19, 113.86°)
OKLaboklab(72.1% -0.0818 0.137)
OKLCHoklch(72.1% 0.16 120.8)
XYZxyz(29.2661, 38.9728, 7.9878)
Luminance0.3897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B328 #4428B3
analogous
#B38928 #97B328 #52B328
triadic
#97B328 #2897B3 #B32897
tetradic
#97B328 #28B389 #4428B3 #B32852
square
#97B328 #28B389 #4428B3 #B32852
split-complementary
#97B328 #2852B3 #8928B3
monochromatic
#434F12 #6D811D #97B328 #B8D543 #CBE075

Accessibility & contrast

On white

2.39
#97B328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#97B328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B328
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B328#FFFFFF#000000##000000
##97B3281.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#A0A999
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97b328;
/* rgb */ color: rgb(151, 179, 40);
/* oklch */ color: oklch(72.1% 0.160 120.8);
Tailwind
colors: {
  custom: {
    50: '#b9c96e',
    500: '#97b328',
    950: '#000000',
  },
}
SCSS
$custom: #97b328;
$custom-light: #b9c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#97b328",
  "rgb": {
    "r": 151,
    "g": 179,
    "b": 40
  },
  "hsl": {
    "h": 72.086,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72105,
    "c": 0.15956,
    "h": 120.8
  },
  "luminance": 0.38973
}

Semantic roles & 50–950 ramp

primary
#97B328
secondary
#816FC8
accent
#41E663
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B328

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

Preview Lab → · Contrast checker → · Palette generator →

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