#97BB1A#97BB1A

#97BB1A is a light, vivid yellow-green. Relative luminance 0.422; OKLCH L 73.9% C 0.175 H 122.8°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#97BB1A
RGBrgb(151, 187, 26)
HSLhsl(73, 76%, 42%)
HSVhsv(73, 86%, 73%)
CMYKcmyk(19.3%, 0%, 86.1%, 26.7%)
CIE-LABlab(71.00, -31.89, 68.01)
CIE-LCHlch(71.00, 75.12, 115.12°)
OKLaboklab(73.92% -0.0944 0.1468)
OKLCHoklch(73.92% 0.175 122.8)
XYZxyz(30.7198, 42.1944, 7.5030)
Luminance0.4219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BB1A #3E1ABB
analogous
#BB8F1A #97BB1A #47BB1A
triadic
#97BB1A #1A97BB #BB1A97
tetradic
#97BB1A #1ABB8F #3E1ABB #BB1A47
square
#97BB1A #1ABB8F #3E1ABB #BB1A47
split-complementary
#97BB1A #1A47BB #8F1ABB
monochromatic
#40500B #6C8513 #97BB1A #BAE230 #CCEA66

Accessibility & contrast

On white

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

On black

9.44
#97BB1A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97BB1A
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97BB1A#FFFFFF#000000##000000
##97BB1A1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7AF00
Deuteranopia (green-blind)
#C2AE2E
Tritanopia (blue-blind)
#9FB19F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #97bb1a;
/* rgb */ color: rgb(151, 187, 26);
/* oklch */ color: oklch(73.9% 0.175 122.8);
Tailwind
colors: {
  custom: {
    50: '#bacf6a',
    500: '#97bb1a',
    950: '#000000',
  },
}
SCSS
$custom: #97bb1a;
$custom-light: #bacf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#97bb1a",
  "rgb": {
    "r": 151,
    "g": 187,
    "b": 26
  },
  "hsl": {
    "h": 73.416,
    "s": 75.587,
    "l": 41.765
  },
  "oklch": {
    "l": 0.73924,
    "c": 0.17455,
    "h": 122.8
  },
  "luminance": 0.42195
}

Semantic roles & 50–950 ramp

primary
#97BB1A
secondary
#7A62CF
accent
#36F260
background
#FBFCF6
surface
#F7F9EC
border
#D0D2C7
text
#121307
muted
#81827A

Preview Lab

Preview with #97BB1A

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

Preview Lab → · Contrast checker → · Palette generator →

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