#97B41A#97B41A

#97B41A is a light, vivid yellow-green. Relative luminance 0.393; OKLCH L 72.3% C 0.167 H 120.8°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#97B41A
RGBrgb(151, 180, 26)
HSLhsl(71, 75%, 40%)
HSVhsv(71, 86%, 71%)
CMYKcmyk(16.1%, 0%, 85.6%, 29.4%)
CIE-LABlab(68.97, -28.58, 66.30)
CIE-LCHlch(68.97, 72.19, 113.32°)
OKLaboklab(72.28% -0.0854 0.1431)
OKLCHoklch(72.28% 0.167 120.8)
XYZxyz(29.2708, 39.2965, 7.0200)
Luminance0.3930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B41A #371AB4
analogous
#B4841A #97B41A #4AB41A
triadic
#97B41A #1A97B4 #B41A97
tetradic
#97B41A #1AB484 #371AB4 #B41A4A
square
#97B41A #1AB484 #371AB4 #B41A4A
split-complementary
#97B41A #1A4AB4 #841AB4
monochromatic
#3D490B #6A7F12 #97B41A #BEE02B #CFE860

Accessibility & contrast

On white

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

On black

8.86
#97B41A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B41A
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B41A#FFFFFF#000000##000000
##97B41A1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BCA82D
Tritanopia (blue-blind)
#A0AA99
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97b41a;
/* rgb */ color: rgb(151, 180, 26);
/* oklch */ color: oklch(72.3% 0.167 120.8);
Tailwind
colors: {
  custom: {
    50: '#baca69',
    500: '#97b41a',
    950: '#000000',
  },
}
SCSS
$custom: #97b41a;
$custom-light: #baca69;
$custom-dark: #000000;
JSON
{
  "hex": "#97b41a",
  "rgb": {
    "r": 151,
    "g": 180,
    "b": 26
  },
  "hsl": {
    "h": 71.299,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.72276,
    "c": 0.16666,
    "h": 120.8
  },
  "luminance": 0.39296
}

Semantic roles & 50–950 ramp

primary
#97B41A
secondary
#725DCC
accent
#36F15A
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #97B41A

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

Preview Lab → · Contrast checker → · Palette generator →

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