#97BB1B#97BB1B

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

Color values

HEX#97BB1B
RGBrgb(151, 187, 27)
HSLhsl(74, 75%, 42%)
HSVhsv(74, 86%, 73%)
CMYKcmyk(19.3%, 0%, 85.6%, 26.7%)
CIE-LABlab(71.01, -31.86, 67.80)
CIE-LCHlch(71.01, 74.91, 115.17°)
OKLaboklab(73.93% -0.0943 0.1465)
OKLCHoklch(73.93% 0.174 122.8)
XYZxyz(30.7311, 42.1989, 7.5629)
Luminance0.4220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BB1B #3F1BBB
analogous
#BB8F1B #97BB1B #47BB1B
triadic
#97BB1B #1B97BB #BB1B97
tetradic
#97BB1B #1BBB8F #3F1BBB #BB1B47
square
#97BB1B #1BBB8F #3F1BBB #BB1B47
split-complementary
#97BB1B #1B47BB #8F1BBB
monochromatic
#41500C #6C8613 #97BB1B #BAE132 #CCE967

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97BB1B#FFFFFF#000000##000000
##97BB1B1.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)
#C2AE2F
Tritanopia (blue-blind)
#9FB19F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #97bb1b;
/* rgb */ color: rgb(151, 187, 27);
/* oklch */ color: oklch(73.9% 0.174 122.8);
Tailwind
colors: {
  custom: {
    50: '#bacf6a',
    500: '#97bb1b',
    950: '#000000',
  },
}
SCSS
$custom: #97bb1b;
$custom-light: #bacf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#97bb1b",
  "rgb": {
    "r": 151,
    "g": 187,
    "b": 27
  },
  "hsl": {
    "h": 73.5,
    "s": 74.766,
    "l": 41.961
  },
  "oklch": {
    "l": 0.73927,
    "c": 0.17422,
    "h": 122.8
  },
  "luminance": 0.42199
}

Semantic roles & 50–950 ramp

primary
#97BB1B
secondary
#7C63CE
accent
#36F160
background
#FBFCF6
surface
#F7F9EC
border
#D0D2C7
text
#121307
muted
#81827A

Preview Lab

Preview with #97BB1B

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

Preview Lab → · Contrast checker → · Palette generator →

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