#97BA52#97BA52

#97BA52 is a light, vivid yellow-green. Relative luminance 0.423; OKLCH L 74.1% C 0.138 H 125.2°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#97BA52
RGBrgb(151, 186, 82)
HSLhsl(80, 43%, 53%)
HSVhsv(80, 56%, 73%)
CMYKcmyk(18.8%, 0%, 55.9%, 27.1%)
CIE-LABlab(71.08, -28.08, 48.08)
CIE-LCHlch(71.08, 55.68, 120.29°)
OKLaboklab(74.1% -0.0794 0.1127)
OKLCHoklch(74.1% 0.138 125.2)
XYZxyz(31.8444, 42.3060, 14.4692)
Luminance0.4231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BA52 #7552BA
analogous
#BAA952 #97BA52 #63BA52
triadic
#97BA52 #5297BA #BA5297
tetradic
#97BA52 #52BAA9 #7552BA #BA5263
square
#97BA52 #52BAA9 #7552BA #BA5263
split-complementary
#97BA52 #5263BA #A952BA
monochromatic
#53682A #76943B #97BA52 #B1CB7E #CCDDAA

Accessibility & contrast

On white

2.22
#97BA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#97BA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97BA52
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97BA52#FFFFFF#000000##000000
##97BA521.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF48
Deuteranopia (green-blind)
#BEAE59
Tritanopia (blue-blind)
#9DB2A3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #97ba52;
/* rgb */ color: rgb(151, 186, 82);
/* oklch */ color: oklch(74.1% 0.138 125.2);
Tailwind
colors: {
  custom: {
    50: '#b8ce86',
    500: '#97ba52',
    950: '#000000',
  },
}
SCSS
$custom: #97ba52;
$custom-light: #b8ce86;
$custom-dark: #000000;
JSON
{
  "hex": "#97ba52",
  "rgb": {
    "r": 151,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 80.192,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74103,
    "c": 0.13786,
    "h": 125.2
  },
  "luminance": 0.42306
}

Semantic roles & 50–950 ramp

primary
#97BA52
secondary
#AD9DCA
accent
#55D37F
background
#FBFCF8
surface
#F6F9F0
border
#D0D2CB
text
#12130B
muted
#81827C

Preview Lab

Preview with #97BA52

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

Preview Lab → · Contrast checker → · Palette generator →

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