#97BA38#97BA38

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

Color values

HEX#97BA38
RGBrgb(151, 186, 56)
HSLhsl(76, 54%, 47%)
HSVhsv(76, 70%, 73%)
CMYKcmyk(18.8%, 0%, 69.9%, 27.1%)
CIE-LABlab(70.86, -30.09, 58.90)
CIE-LCHlch(70.86, 66.14, 117.06°)
OKLaboklab(73.85% -0.0873 0.1323)
OKLCHoklch(73.85% 0.159 123.4)
XYZxyz(31.0355, 41.9825, 10.2090)
Luminance0.4198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BA38 #5B38BA
analogous
#BA9C38 #97BA38 #56BA38
triadic
#97BA38 #3897BA #BA3897
tetradic
#97BA38 #38BA9C #5B38BA #BA3856
square
#97BA38 #38BA9C #5B38BA #BA3856
split-complementary
#97BA38 #3856BA #9C38BA
monochromatic
#4B5C1C #718B2A #97BA38 #B1CF60 #C8DD8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97BA38#FFFFFF#000000##000000
##97BA381.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)
#C5AE23
Deuteranopia (green-blind)
#C0AD43
Tritanopia (blue-blind)
#9EB1A0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #97ba38;
/* rgb */ color: rgb(151, 186, 56);
/* oklch */ color: oklch(73.9% 0.159 123.4);
Tailwind
colors: {
  custom: {
    50: '#b9ce76',
    500: '#97ba38',
    950: '#000000',
  },
}
SCSS
$custom: #97ba38;
$custom-light: #b9ce76;
$custom-dark: #000000;
JSON
{
  "hex": "#97ba38",
  "rgb": {
    "r": 151,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 76.154,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73852,
    "c": 0.15854,
    "h": 123.4
  },
  "luminance": 0.41983
}

Semantic roles & 50–950 ramp

primary
#97BA38
secondary
#9886C8
accent
#4BDD72
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#121309
muted
#81827B

Preview Lab

Preview with #97BA38

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

Preview Lab → · Contrast checker → · Palette generator →

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