#97BA40#97BA40

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

Color values

HEX#97BA40
RGBrgb(151, 186, 64)
HSLhsl(77, 49%, 49%)
HSVhsv(77, 66%, 73%)
CMYKcmyk(18.8%, 0%, 65.6%, 27.1%)
CIE-LABlab(70.92, -29.56, 55.81)
CIE-LCHlch(70.92, 63.15, 117.91°)
OKLaboklab(73.92% -0.0852 0.127)
OKLCHoklch(73.92% 0.153 123.8)
XYZxyz(31.2471, 42.0671, 11.3231)
Luminance0.4207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BA40 #6340BA
analogous
#BAA040 #97BA40 #5ABA40
triadic
#97BA40 #4097BA #BA4097
tetradic
#97BA40 #40BAA0 #6340BA #BA405A
square
#97BA40 #40BAA0 #6340BA #BA405A
split-complementary
#97BA40 #405ABA #A040BA
monochromatic
#4D5F21 #728C30 #97BA40 #B0CC6B #C9DC99

Accessibility & contrast

On white

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

On black

9.41
#97BA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97BA40
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97BA40#FFFFFF#000000##000000
##97BA401.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97ba40;
/* rgb */ color: rgb(151, 186, 64);
/* oklch */ color: oklch(73.9% 0.153 123.8);
Tailwind
colors: {
  custom: {
    50: '#b9ce7b',
    500: '#97ba40',
    950: '#000000',
  },
}
SCSS
$custom: #97ba40;
$custom-light: #b9ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#97ba40",
  "rgb": {
    "r": 151,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 77.213,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73918,
    "c": 0.15289,
    "h": 123.8
  },
  "luminance": 0.42067
}

Semantic roles & 50–950 ramp

primary
#97BA40
secondary
#9F8EC8
accent
#4FD877
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #97BA40

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

Preview Lab → · Contrast checker → · Palette generator →

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