#97BC2A#97BC2A

#97BC2A 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#97BC2A
RGBrgb(151, 188, 42)
HSLhsl(75, 63%, 45%)
HSVhsv(75, 78%, 74%)
CMYKcmyk(19.7%, 0%, 77.7%, 26.3%)
CIE-LABlab(71.36, -31.77, 64.17)
CIE-LCHlch(71.36, 71.61, 116.34°)
OKLaboklab(74.23% -0.0931 0.1412)
OKLCHoklch(74.23% 0.169 123.4)
XYZxyz(31.1640, 42.7127, 8.7926)
Luminance0.4271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BC2A #4F2ABC
analogous
#BC982A #97BC2A #4EBC2A
triadic
#97BC2A #2A97BC #BC2A97
tetradic
#97BC2A #2ABC98 #4F2ABC #BC2A4E
square
#97BC2A #2ABC98 #4F2ABC #BC2A4E
split-complementary
#97BC2A #2A4EBC #982ABC
monochromatic
#475814 #6F8A1F #97BC2A #B4D74C #C9E27E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97BC2A#FFFFFF#000000##000000
##97BC2A1.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)
#C2AE39
Tritanopia (blue-blind)
#9FB2A1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #97bc2a;
/* rgb */ color: rgb(151, 188, 42);
/* oklch */ color: oklch(74.2% 0.169 123.4);
Tailwind
colors: {
  custom: {
    50: '#b9d070',
    500: '#97bc2a',
    950: '#000000',
  },
}
SCSS
$custom: #97bc2a;
$custom-light: #b9d070;
$custom-dark: #000000;
JSON
{
  "hex": "#97bc2a",
  "rgb": {
    "r": 151,
    "g": 188,
    "b": 42
  },
  "hsl": {
    "h": 75.205,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74231,
    "c": 0.16909,
    "h": 123.4
  },
  "luminance": 0.42713
}

Semantic roles & 50–950 ramp

primary
#97BC2A
secondary
#8C77CB
accent
#41E76B
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121408
muted
#81827B

Preview Lab

Preview with #97BC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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