#97BA42#97BA42

#97BA42 is a light, vivid yellow-green. Relative luminance 0.421; OKLCH L 73.9% C 0.151 H 124.0°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#97BA42
RGBrgb(151, 186, 66)
HSLhsl(78, 48%, 49%)
HSVhsv(78, 65%, 73%)
CMYKcmyk(18.8%, 0%, 64.5%, 27.1%)
CIE-LABlab(70.93, -29.41, 55.00)
CIE-LCHlch(70.93, 62.37, 118.14°)
OKLaboklab(73.94% -0.0846 0.1256)
OKLCHoklch(73.94% 0.151 124)
XYZxyz(31.3050, 42.0902, 11.6282)
Luminance0.4209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BA42 #6542BA
analogous
#BAA142 #97BA42 #5BBA42
triadic
#97BA42 #4297BA #BA4297
tetradic
#97BA42 #42BAA1 #6542BA #BA425B
square
#97BA42 #42BAA1 #6542BA #BA425B
split-complementary
#97BA42 #425BBA #A142BA
monochromatic
#4E6022 #728D32 #97BA42 #B0CB6E #C9DB9B

Accessibility & contrast

On white

2.23
#97BA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#97BA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97BA42
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97BA42#FFFFFF#000000##000000
##97BA421.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF32
Deuteranopia (green-blind)
#BFAD4B
Tritanopia (blue-blind)
#9EB1A1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #97ba42;
/* rgb */ color: rgb(151, 186, 66);
/* oklch */ color: oklch(73.9% 0.151 124.0);
Tailwind
colors: {
  custom: {
    50: '#b8ce7c',
    500: '#97ba42',
    950: '#000000',
  },
}
SCSS
$custom: #97ba42;
$custom-light: #b8ce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#97ba42",
  "rgb": {
    "r": 151,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 77.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73936,
    "c": 0.15138,
    "h": 124
  },
  "luminance": 0.4209
}

Semantic roles & 50–950 ramp

primary
#97BA42
secondary
#A090C8
accent
#51D778
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #97BA42

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

Preview Lab → · Contrast checker → · Palette generator →

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