#97BB2A#97BB2A

#97BB2A is a light, vivid yellow-green. Relative luminance 0.423; OKLCH L 74.0% C 0.168 H 123.2°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#97BB2A
RGBrgb(151, 187, 42)
HSLhsl(75, 63%, 45%)
HSVhsv(75, 78%, 73%)
CMYKcmyk(19.3%, 0%, 77.5%, 26.7%)
CIE-LABlab(71.07, -31.30, 63.90)
CIE-LCHlch(71.07, 71.16, 116.10°)
OKLaboklab(74% -0.0918 0.1406)
OKLCHoklch(74% 0.168 123.2)
XYZxyz(30.9512, 42.2869, 8.7216)
Luminance0.4229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BB2A #4E2ABB
analogous
#BB972A #97BB2A #4EBB2A
triadic
#97BB2A #2A97BB #BB2A97
tetradic
#97BB2A #2ABB97 #4E2ABB #BB2A4E
square
#97BB2A #2ABB97 #4E2ABB #BB2A4E
split-complementary
#97BB2A #2A4EBB #972ABB
monochromatic
#465714 #6F891F #97BB2A #B4D74C #C9E27D

Accessibility & contrast

On white

2.22
#97BB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#97BB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97BB2A
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97BB2A#FFFFFF#000000##000000
##97BB2A1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C1AE38
Tritanopia (blue-blind)
#9FB1A0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #97bb2a;
/* rgb */ color: rgb(151, 187, 42);
/* oklch */ color: oklch(74.0% 0.168 123.2);
Tailwind
colors: {
  custom: {
    50: '#b9cf70',
    500: '#97bb2a',
    950: '#000000',
  },
}
SCSS
$custom: #97bb2a;
$custom-light: #b9cf70;
$custom-dark: #000000;
JSON
{
  "hex": "#97bb2a",
  "rgb": {
    "r": 151,
    "g": 187,
    "b": 42
  },
  "hsl": {
    "h": 74.897,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73995,
    "c": 0.16792,
    "h": 123.2
  },
  "luminance": 0.42287
}

Semantic roles & 50–950 ramp

primary
#97BB2A
secondary
#8B76CA
accent
#41E66A
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97BB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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