#97BB31#97BB31

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

Color values

HEX#97BB31
RGBrgb(151, 187, 49)
HSLhsl(76, 58%, 46%)
HSVhsv(76, 74%, 73%)
CMYKcmyk(19.3%, 0%, 73.8%, 26.7%)
CIE-LABlab(71.11, -30.96, 61.66)
CIE-LCHlch(71.11, 69.00, 116.66°)
OKLaboklab(74.04% -0.0903 0.137)
OKLCHoklch(74.04% 0.164 123.4)
XYZxyz(31.0876, 42.3415, 9.4401)
Luminance0.4234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BB31 #5531BB
analogous
#BB9A31 #97BB31 #52BB31
triadic
#97BB31 #3197BB #BB3197
tetradic
#97BB31 #31BB9A #5531BB #BB3152
square
#97BB31 #31BB9A #5531BB #BB3152
split-complementary
#97BB31 #3152BB #9A31BB
monochromatic
#495A18 #708B24 #97BB31 #B2D356 #C8E087

Accessibility & contrast

On white

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

On black

9.47
#97BB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97BB31
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97BB31#FFFFFF#000000##000000
##97BB311.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF14
Deuteranopia (green-blind)
#C1AE3E
Tritanopia (blue-blind)
#9FB2A1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #97bb31;
/* rgb */ color: rgb(151, 187, 49);
/* oklch */ color: oklch(74.0% 0.164 123.4);
Tailwind
colors: {
  custom: {
    50: '#b9cf73',
    500: '#97bb31',
    950: '#000000',
  },
}
SCSS
$custom: #97bb31;
$custom-light: #b9cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#97bb31",
  "rgb": {
    "r": 151,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 75.652,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74038,
    "c": 0.16411,
    "h": 123.4
  },
  "luminance": 0.42342
}

Semantic roles & 50–950 ramp

primary
#97BB31
secondary
#927FC9
accent
#46E26F
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121309
muted
#81827B

Preview Lab

Preview with #97BB31

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

Preview Lab → · Contrast checker → · Palette generator →

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