#97B240#97B240

#97B240 is a light, vivid yellow-green. Relative luminance 0.388; OKLCH L 72.0% C 0.143 H 121.4°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#97B240
RGBrgb(151, 178, 64)
HSLhsl(74, 47%, 47%)
HSVhsv(74, 64%, 70%)
CMYKcmyk(15.2%, 0%, 64%, 30.2%)
CIE-LABlab(68.60, -25.71, 53.35)
CIE-LCHlch(68.60, 59.22, 115.73°)
OKLaboklab(72.05% -0.0745 0.1218)
OKLCHoklch(72.05% 0.143 121.4)
XYZxyz(29.6087, 38.7903, 10.7769)
Luminance0.3879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B240 #5B40B2
analogous
#B29440 #97B240 #5EB240
triadic
#97B240 #4097B2 #B24097
tetradic
#97B240 #40B294 #5B40B2 #B2405E
square
#97B240 #40B294 #5B40B2 #B2405E
split-complementary
#97B240 #405EB2 #9440B2
monochromatic
#4B5820 #718530 #97B240 #B1C867 #C8D894

Accessibility & contrast

On white

2.40
#97B240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#97B240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B240
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B240#FFFFFF#000000##000000
##97B2401.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA832
Deuteranopia (green-blind)
#B9A748
Tritanopia (blue-blind)
#9FA99A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97b240;
/* rgb */ color: rgb(151, 178, 64);
/* oklch */ color: oklch(72.0% 0.143 121.4);
Tailwind
colors: {
  custom: {
    50: '#b8c97a',
    500: '#97b240',
    950: '#000000',
  },
}
SCSS
$custom: #97b240;
$custom-light: #b8c97a;
$custom-dark: #000000;
JSON
{
  "hex": "#97b240",
  "rgb": {
    "r": 151,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 74.211,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72048,
    "c": 0.14277,
    "h": 121.4
  },
  "luminance": 0.3879
}

Semantic roles & 50–950 ramp

primary
#97B240
secondary
#988AC4
accent
#51D771
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #97B240

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

Preview Lab → · Contrast checker → · Palette generator →

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