#97B040#97B040

#97B040 is a light, vivid yellow-green. Relative luminance 0.380; OKLCH L 71.6% C 0.140 H 120.8°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#97B040
RGBrgb(151, 176, 64)
HSLhsl(73, 47%, 47%)
HSVhsv(73, 64%, 69%)
CMYKcmyk(14.2%, 0%, 63.6%, 31%)
CIE-LABlab(68.02, -24.73, 52.73)
CIE-LCHlch(68.02, 58.24, 115.12°)
OKLaboklab(71.58% -0.0718 0.1205)
OKLCHoklch(71.58% 0.14 120.8)
XYZxyz(29.2136, 38.0002, 10.6452)
Luminance0.3800 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B040 #5940B0
analogous
#B09140 #97B040 #5FB040
triadic
#97B040 #4097B0 #B04097
tetradic
#97B040 #40B091 #5940B0 #B0405F
square
#97B040 #40B091 #5940B0 #B0405F
split-complementary
#97B040 #405FB0 #9140B0
monochromatic
#4A561F #708330 #97B040 #B2C766 #C8D893

Accessibility & contrast

On white

2.44
#97B040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#97B040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B040
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B040#FFFFFF#000000##000000
##97B0401.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA632
Deuteranopia (green-blind)
#B7A648
Tritanopia (blue-blind)
#9FA799
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #97b040;
/* rgb */ color: rgb(151, 176, 64);
/* oklch */ color: oklch(71.6% 0.140 120.8);
Tailwind
colors: {
  custom: {
    50: '#b8c77a',
    500: '#97b040',
    950: '#000000',
  },
}
SCSS
$custom: #97b040;
$custom-light: #b8c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#97b040",
  "rgb": {
    "r": 151,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 73.393,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71583,
    "c": 0.14024,
    "h": 120.8
  },
  "luminance": 0.38
}

Semantic roles & 50–950 ramp

primary
#97B040
secondary
#9689C3
accent
#51D66F
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#121309
muted
#81827B

Preview Lab

Preview with #97B040

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

Preview Lab → · Contrast checker → · Palette generator →

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