#97B42A#97B42A

#97B42A is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 72.4% C 0.160 H 121.2°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#97B42A
RGBrgb(151, 180, 42)
HSLhsl(73, 62%, 44%)
HSVhsv(73, 77%, 71%)
CMYKcmyk(16.1%, 0%, 76.7%, 29.4%)
CIE-LABlab(69.03, -27.98, 62.02)
CIE-LCHlch(69.03, 68.03, 114.28°)
OKLaboklab(72.35% -0.0827 0.1366)
OKLCHoklch(72.35% 0.16 121.2)
XYZxyz(29.5022, 39.3890, 8.2387)
Luminance0.3939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B42A #472AB4
analogous
#B48C2A #97B42A #52B42A
triadic
#97B42A #2A97B4 #B42A97
tetradic
#97B42A #2AB48C #472AB4 #B42A52
square
#97B42A #2AB48C #472AB4 #B42A52
split-complementary
#97B42A #2A52B4 #8C2AB4
monochromatic
#445113 #6D821E #97B42A #B6D447 #CAE079

Accessibility & contrast

On white

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

On black

8.88
#97B42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B42A
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B42A#FFFFFF#000000##000000
##97B42A1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97b42a;
/* rgb */ color: rgb(151, 180, 42);
/* oklch */ color: oklch(72.4% 0.160 121.2);
Tailwind
colors: {
  custom: {
    50: '#b9ca6f',
    500: '#97b42a',
    950: '#000000',
  },
}
SCSS
$custom: #97b42a;
$custom-light: #b9ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#97b42a",
  "rgb": {
    "r": 151,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 72.609,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72351,
    "c": 0.15969,
    "h": 121.2
  },
  "luminance": 0.39389
}

Semantic roles & 50–950 ramp

primary
#97B42A
secondary
#8472C8
accent
#43E565
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B42A

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

Preview Lab → · Contrast checker → · Palette generator →

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