#97BC2B#97BC2B

#97BC2B is a light, vivid yellow-green. Relative luminance 0.427; OKLCH L 74.2% C 0.169 H 123.4°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#97BC2B
RGBrgb(151, 188, 43)
HSLhsl(75, 63%, 45%)
HSVhsv(75, 77%, 74%)
CMYKcmyk(19.7%, 0%, 77.1%, 26.3%)
CIE-LABlab(71.36, -31.72, 63.87)
CIE-LCHlch(71.36, 71.31, 116.41°)
OKLaboklab(74.24% -0.0929 0.1407)
OKLCHoklch(74.24% 0.169 123.4)
XYZxyz(31.1822, 42.7200, 8.8880)
Luminance0.4272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BC2B #502BBC
analogous
#BC982B #97BC2B #4FBC2B
triadic
#97BC2B #2B97BC #BC2B97
tetradic
#97BC2B #2BBC98 #502BBC #BC2B4F
square
#97BC2B #2BBC98 #502BBC #BC2B4F
split-complementary
#97BC2B #2B4FBC #982BBC
monochromatic
#475814 #6F8A20 #97BC2B #B4D64E #C9E280

Accessibility & contrast

On white

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

On black

9.54
#97BC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97BC2B
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97BC2B#FFFFFF#000000##000000
##97BC2B1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C2AF39
Tritanopia (blue-blind)
#9FB2A1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #97bc2b;
/* rgb */ color: rgb(151, 188, 43);
/* oklch */ color: oklch(74.2% 0.169 123.4);
Tailwind
colors: {
  custom: {
    50: '#b9d070',
    500: '#97bc2b',
    950: '#000000',
  },
}
SCSS
$custom: #97bc2b;
$custom-light: #b9d070;
$custom-dark: #000000;
JSON
{
  "hex": "#97bc2b",
  "rgb": {
    "r": 151,
    "g": 188,
    "b": 43
  },
  "hsl": {
    "h": 75.31,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74236,
    "c": 0.16859,
    "h": 123.4
  },
  "luminance": 0.4272
}

Semantic roles & 50–950 ramp

primary
#97BC2B
secondary
#8D78CB
accent
#42E66C
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121408
muted
#81827B

Preview Lab

Preview with #97BC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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