#97B840#97B840

#97B840 is a light, vivid yellow-green. Relative luminance 0.412; OKLCH L 73.4% C 0.150 H 123.3°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#97B840
RGBrgb(151, 184, 64)
HSLhsl(77, 48%, 49%)
HSVhsv(77, 65%, 72%)
CMYKcmyk(17.9%, 0%, 65.2%, 27.8%)
CIE-LABlab(70.34, -28.60, 55.19)
CIE-LCHlch(70.34, 62.16, 117.40°)
OKLaboklab(73.45% -0.0825 0.1257)
OKLCHoklch(73.45% 0.15 123.3)
XYZxyz(30.8287, 41.2303, 11.1836)
Luminance0.4123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B840 #6140B8
analogous
#B89D40 #97B840 #5BB840
triadic
#97B840 #4097B8 #B84097
tetradic
#97B840 #40B89D #6140B8 #B8405B
square
#97B840 #40B89D #6140B8 #B8405B
split-complementary
#97B840 #405BB8 #9D40B8
monochromatic
#4C5D20 #728B30 #97B840 #B0CB6A #C8DB97

Accessibility & contrast

On white

2.27
#97B840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#97B840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B840
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B840#FFFFFF#000000##000000
##97B8401.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD30
Deuteranopia (green-blind)
#BEAC49
Tritanopia (blue-blind)
#9EAF9F
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #97b840;
/* rgb */ color: rgb(151, 184, 64);
/* oklch */ color: oklch(73.4% 0.150 123.3);
Tailwind
colors: {
  custom: {
    50: '#b8cd7b',
    500: '#97b840',
    950: '#000000',
  },
}
SCSS
$custom: #97b840;
$custom-light: #b8cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#97b840",
  "rgb": {
    "r": 151,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 76.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73449,
    "c": 0.15036,
    "h": 123.3
  },
  "luminance": 0.4123
}

Semantic roles & 50–950 ramp

primary
#97B840
secondary
#9D8DC7
accent
#50D875
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #97B840

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

Preview Lab → · Contrast checker → · Palette generator →

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