#97B421#97B421

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

Color values

HEX#97B421
RGBrgb(151, 180, 33)
HSLhsl(72, 69%, 42%)
HSVhsv(72, 82%, 71%)
CMYKcmyk(16.1%, 0%, 81.7%, 29.4%)
CIE-LABlab(68.99, -28.35, 64.61)
CIE-LCHlch(68.99, 70.56, 113.69°)
OKLaboklab(72.3% -0.0844 0.1406)
OKLCHoklch(72.3% 0.164 121)
XYZxyz(29.3588, 39.3317, 7.4836)
Luminance0.3933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B421 #3E21B4
analogous
#B48821 #97B421 #4DB421
triadic
#97B421 #2197B4 #B42197
tetradic
#97B421 #21B488 #3E21B4 #B4214D
square
#97B421 #21B488 #3E21B4 #B4214D
split-complementary
#97B421 #214DB4 #8821B4
monochromatic
#404D0E #6C8018 #97B421 #BADA38 #CCE46B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97B421#FFFFFF#000000##000000
##97B4211.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)
#C0A900
Deuteranopia (green-blind)
#BCA931
Tritanopia (blue-blind)
#A0AA9A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97b421;
/* rgb */ color: rgb(151, 180, 33);
/* oklch */ color: oklch(72.3% 0.164 121.0);
Tailwind
colors: {
  custom: {
    50: '#baca6b',
    500: '#97b421',
    950: '#000000',
  },
}
SCSS
$custom: #97b421;
$custom-light: #baca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#97b421",
  "rgb": {
    "r": 151,
    "g": 180,
    "b": 33
  },
  "hsl": {
    "h": 71.837,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72304,
    "c": 0.16398,
    "h": 121
  },
  "luminance": 0.39332
}

Semantic roles & 50–950 ramp

primary
#97B421
secondary
#7A67CA
accent
#3CEC5F
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #97B421

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

Preview Lab → · Contrast checker → · Palette generator →

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