#97B838#97B838

#97B838 is a light, vivid yellow-green. Relative luminance 0.411; OKLCH L 73.4% C 0.156 H 122.9°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#97B838
RGBrgb(151, 184, 56)
HSLhsl(75, 53%, 47%)
HSVhsv(75, 70%, 72%)
CMYKcmyk(17.9%, 0%, 69.6%, 27.8%)
CIE-LABlab(70.28, -29.14, 58.31)
CIE-LCHlch(70.28, 65.19, 116.55°)
OKLaboklab(73.38% -0.0847 0.1311)
OKLCHoklch(73.38% 0.156 122.9)
XYZxyz(30.6172, 41.1457, 10.0695)
Luminance0.4115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B838 #5938B8
analogous
#B89938 #97B838 #57B838
triadic
#97B838 #3897B8 #B83897
tetradic
#97B838 #38B899 #5938B8 #B83857
square
#97B838 #38B899 #5938B8 #B83857
split-complementary
#97B838 #3857B8 #9938B8
monochromatic
#4A5A1B #70892A #97B838 #B2CE5F #C8DD8E

Accessibility & contrast

On white

2.28
#97B838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#97B838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B838
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B838#FFFFFF#000000##000000
##97B8381.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD24
Deuteranopia (green-blind)
#BEAC42
Tritanopia (blue-blind)
#9FAF9F
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #97b838;
/* rgb */ color: rgb(151, 184, 56);
/* oklch */ color: oklch(73.4% 0.156 122.9);
Tailwind
colors: {
  custom: {
    50: '#b9cd76',
    500: '#97b838',
    950: '#000000',
  },
}
SCSS
$custom: #97b838;
$custom-light: #b9cd76;
$custom-dark: #000000;
JSON
{
  "hex": "#97b838",
  "rgb": {
    "r": 151,
    "g": 184,
    "b": 56
  },
  "hsl": {
    "h": 75.469,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73383,
    "c": 0.15608,
    "h": 122.9
  },
  "luminance": 0.41146
}

Semantic roles & 50–950 ramp

primary
#97B838
secondary
#9685C7
accent
#4BDD71
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#121309
muted
#81827B

Preview Lab

Preview with #97B838

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

Preview Lab → · Contrast checker → · Palette generator →

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