#97BA39#97BA39

#97BA39 is a light, vivid yellow-green. Relative luminance 0.420; OKLCH L 73.9% C 0.158 H 123.5°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#97BA39
RGBrgb(151, 186, 57)
HSLhsl(76, 53%, 48%)
HSVhsv(76, 69%, 73%)
CMYKcmyk(18.8%, 0%, 69.4%, 27.1%)
CIE-LABlab(70.87, -30.02, 58.52)
CIE-LCHlch(70.87, 65.78, 117.16°)
OKLaboklab(73.86% -0.0871 0.1317)
OKLCHoklch(73.86% 0.158 123.5)
XYZxyz(31.0602, 41.9923, 10.3391)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BA39 #5C39BA
analogous
#BA9C39 #97BA39 #57BA39
triadic
#97BA39 #3997BA #BA3997
tetradic
#97BA39 #39BA9C #5C39BA #BA3957
square
#97BA39 #39BA9C #5C39BA #BA3957
split-complementary
#97BA39 #3957BA #9C39BA
monochromatic
#4B5C1C #718B2B #97BA39 #B1CF61 #C8DD90

Accessibility & contrast

On white

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

On black

9.40
#97BA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97BA39
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97BA39#FFFFFF#000000##000000
##97BA391.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE25
Deuteranopia (green-blind)
#C0AD44
Tritanopia (blue-blind)
#9EB1A0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #97ba39;
/* rgb */ color: rgb(151, 186, 57);
/* oklch */ color: oklch(73.9% 0.158 123.5);
Tailwind
colors: {
  custom: {
    50: '#b9ce77',
    500: '#97ba39',
    950: '#000000',
  },
}
SCSS
$custom: #97ba39;
$custom-light: #b9ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#97ba39",
  "rgb": {
    "r": 151,
    "g": 186,
    "b": 57
  },
  "hsl": {
    "h": 76.279,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7386,
    "c": 0.15787,
    "h": 123.5
  },
  "luminance": 0.41993
}

Semantic roles & 50–950 ramp

primary
#97BA39
secondary
#9987C8
accent
#4BDC73
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#121309
muted
#81827B

Preview Lab

Preview with #97BA39

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

Preview Lab → · Contrast checker → · Palette generator →

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