#97BC31#97BC31

#97BC31 is a light, vivid yellow-green. Relative luminance 0.428; OKLCH L 74.3% C 0.165 H 123.7°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#97BC31
RGBrgb(151, 188, 49)
HSLhsl(76, 59%, 46%)
HSVhsv(76, 74%, 74%)
CMYKcmyk(19.7%, 0%, 73.9%, 26.3%)
CIE-LABlab(71.40, -31.43, 61.94)
CIE-LCHlch(71.40, 69.46, 116.90°)
OKLaboklab(74.27% -0.0916 0.1376)
OKLCHoklch(74.27% 0.165 123.7)
XYZxyz(31.3004, 42.7673, 9.5110)
Luminance0.4277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BC31 #5631BC
analogous
#BC9C31 #97BC31 #52BC31
triadic
#97BC31 #3197BC #BC3197
tetradic
#97BC31 #31BC9C #5631BC #BC3152
square
#97BC31 #31BC9C #5631BC #BC3152
split-complementary
#97BC31 #3152BC #9C31BC
monochromatic
#495B18 #708B24 #97BC31 #B2D357 #C8E088

Accessibility & contrast

On white

2.20
#97BC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#97BC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97BC31
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97BC31#FFFFFF#000000##000000
##97BC311.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B014
Deuteranopia (green-blind)
#C2AF3E
Tritanopia (blue-blind)
#9FB3A1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #97bc31;
/* rgb */ color: rgb(151, 188, 49);
/* oklch */ color: oklch(74.3% 0.165 123.7);
Tailwind
colors: {
  custom: {
    50: '#b9d073',
    500: '#97bc31',
    950: '#000000',
  },
}
SCSS
$custom: #97bc31;
$custom-light: #b9d073;
$custom-dark: #000000;
JSON
{
  "hex": "#97bc31",
  "rgb": {
    "r": 151,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 75.971,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74273,
    "c": 0.16532,
    "h": 123.7
  },
  "luminance": 0.42767
}

Semantic roles & 50–950 ramp

primary
#97BC31
secondary
#937FCA
accent
#46E26F
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121409
muted
#81827B

Preview Lab

Preview with #97BC31

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

Preview Lab → · Contrast checker → · Palette generator →

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