#97B837#97B837

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

Color values

HEX#97B837
RGBrgb(151, 184, 55)
HSLhsl(75, 54%, 47%)
HSVhsv(75, 70%, 72%)
CMYKcmyk(17.9%, 0%, 70.1%, 27.8%)
CIE-LABlab(70.27, -29.20, 58.68)
CIE-LCHlch(70.27, 65.55, 116.45°)
OKLaboklab(73.38% -0.085 0.1317)
OKLCHoklch(73.38% 0.157 122.8)
XYZxyz(30.5929, 41.1360, 9.9420)
Luminance0.4114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B837 #5837B8
analogous
#B89937 #97B837 #57B837
triadic
#97B837 #3797B8 #B83797
tetradic
#97B837 #37B899 #5837B8 #B83757
square
#97B837 #37B899 #5837B8 #B83757
split-complementary
#97B837 #3757B8 #9937B8
monochromatic
#4A5A1B #708929 #97B837 #B2CF5D #C8DD8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97B837#FFFFFF#000000##000000
##97B8371.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)
#C3AD22
Deuteranopia (green-blind)
#BEAC42
Tritanopia (blue-blind)
#9FAF9F
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #97b837;
/* rgb */ color: rgb(151, 184, 55);
/* oklch */ color: oklch(73.4% 0.157 122.8);
Tailwind
colors: {
  custom: {
    50: '#b9cd76',
    500: '#97b837',
    950: '#000000',
  },
}
SCSS
$custom: #97b837;
$custom-light: #b9cd76;
$custom-dark: #000000;
JSON
{
  "hex": "#97b837",
  "rgb": {
    "r": 151,
    "g": 184,
    "b": 55
  },
  "hsl": {
    "h": 75.349,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73375,
    "c": 0.15674,
    "h": 122.8
  },
  "luminance": 0.41136
}

Semantic roles & 50–950 ramp

primary
#97B837
secondary
#9584C7
accent
#4ADD70
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#121309
muted
#81827B

Preview Lab

Preview with #97B837

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

Preview Lab → · Contrast checker → · Palette generator →

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