#97B428#97B428

#97B428 is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 72.3% C 0.161 H 121.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#97B428
RGBrgb(151, 180, 40)
HSLhsl(72, 64%, 43%)
HSVhsv(72, 78%, 71%)
CMYKcmyk(16.1%, 0%, 77.8%, 29.4%)
CIE-LABlab(69.02, -28.07, 62.63)
CIE-LCHlch(69.02, 68.63, 114.14°)
OKLaboklab(72.34% -0.0831 0.1376)
OKLCHoklch(72.34% 0.161 121.1)
XYZxyz(29.4673, 39.3750, 8.0548)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B428 #4528B4
analogous
#B48B28 #97B428 #51B428
triadic
#97B428 #2897B4 #B42897
tetradic
#97B428 #28B48B #4528B4 #B42851
square
#97B428 #28B48B #4528B4 #B42851
split-complementary
#97B428 #2851B4 #8B28B4
monochromatic
#435012 #6D821D #97B428 #B7D544 #CAE176

Accessibility & contrast

On white

2.37
#97B428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#97B428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B428
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B428#FFFFFF#000000##000000
##97B4281.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#A0AA9A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97b428;
/* rgb */ color: rgb(151, 180, 40);
/* oklch */ color: oklch(72.3% 0.161 121.1);
Tailwind
colors: {
  custom: {
    50: '#b9ca6e',
    500: '#97b428',
    950: '#000000',
  },
}
SCSS
$custom: #97b428;
$custom-light: #b9ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#97b428",
  "rgb": {
    "r": 151,
    "g": 180,
    "b": 40
  },
  "hsl": {
    "h": 72.429,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72339,
    "c": 0.16073,
    "h": 121.1
  },
  "luminance": 0.39375
}

Semantic roles & 50–950 ramp

primary
#97B428
secondary
#8270C8
accent
#41E763
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B428

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

Preview Lab → · Contrast checker → · Palette generator →

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