#97BA2A#97BA2A

#97BA2A is a light, vivid yellow-green. Relative luminance 0.419; OKLCH L 73.8% C 0.167 H 122.9°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#97BA2A
RGBrgb(151, 186, 42)
HSLhsl(75, 63%, 45%)
HSVhsv(75, 77%, 73%)
CMYKcmyk(18.8%, 0%, 77.4%, 27.1%)
CIE-LABlab(70.78, -30.83, 63.63)
CIE-LCHlch(70.78, 70.71, 115.85°)
OKLaboklab(73.76% -0.0905 0.14)
OKLCHoklch(73.76% 0.167 122.9)
XYZxyz(30.7397, 41.8641, 8.6512)
Luminance0.4186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BA2A #4D2ABA
analogous
#BA952A #97BA2A #4FBA2A
triadic
#97BA2A #2A97BA #BA2A97
tetradic
#97BA2A #2ABA95 #4D2ABA #BA2A4F
square
#97BA2A #2ABA95 #4D2ABA #BA2A4F
split-complementary
#97BA2A #2A4FBA #952ABA
monochromatic
#465613 #6E881F #97BA2A #B4D64B #C9E27D

Accessibility & contrast

On white

2.24
#97BA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#97BA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97BA2A
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97BA2A#FFFFFF#000000##000000
##97BA2A1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C1AD38
Tritanopia (blue-blind)
#9FB09F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #97ba2a;
/* rgb */ color: rgb(151, 186, 42);
/* oklch */ color: oklch(73.8% 0.167 122.9);
Tailwind
colors: {
  custom: {
    50: '#b9ce70',
    500: '#97ba2a',
    950: '#000000',
  },
}
SCSS
$custom: #97ba2a;
$custom-light: #b9ce70;
$custom-dark: #000000;
JSON
{
  "hex": "#97ba2a",
  "rgb": {
    "r": 151,
    "g": 186,
    "b": 42
  },
  "hsl": {
    "h": 74.583,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7376,
    "c": 0.16673,
    "h": 122.9
  },
  "luminance": 0.41864
}

Semantic roles & 50–950 ramp

primary
#97BA2A
secondary
#8A76CA
accent
#42E66A
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97BA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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