#97B540#97B540

#97B540 is a light, vivid yellow-green. Relative luminance 0.400; OKLCH L 72.7% C 0.147 H 122.4°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#97B540
RGBrgb(151, 181, 64)
HSLhsl(75, 48%, 48%)
HSVhsv(75, 65%, 71%)
CMYKcmyk(16.6%, 0%, 64.6%, 29%)
CIE-LABlab(69.47, -27.16, 54.27)
CIE-LCHlch(69.47, 60.69, 116.59°)
OKLaboklab(72.75% -0.0785 0.1238)
OKLCHoklch(72.75% 0.147 122.4)
XYZxyz(30.2121, 39.9971, 10.9781)
Luminance0.4000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B540 #5E40B5
analogous
#B59940 #97B540 #5CB540
triadic
#97B540 #4097B5 #B54097
tetradic
#97B540 #40B599 #5E40B5 #B5405C
square
#97B540 #40B599 #5E40B5 #B5405C
split-complementary
#97B540 #405CB5 #9940B5
monochromatic
#4C5B20 #718830 #97B540 #B1CA68 #C8DA96

Accessibility & contrast

On white

2.33
#97B540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#97B540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B540
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B540#FFFFFF#000000##000000
##97B5401.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA31
Deuteranopia (green-blind)
#BBAA49
Tritanopia (blue-blind)
#9EAC9D
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #97b540;
/* rgb */ color: rgb(151, 181, 64);
/* oklch */ color: oklch(72.7% 0.147 122.4);
Tailwind
colors: {
  custom: {
    50: '#b8cb7a',
    500: '#97b540',
    950: '#000000',
  },
}
SCSS
$custom: #97b540;
$custom-light: #b8cb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#97b540",
  "rgb": {
    "r": 151,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 75.385,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72748,
    "c": 0.14656,
    "h": 122.4
  },
  "luminance": 0.39997
}

Semantic roles & 50–950 ramp

primary
#97B540
secondary
#9A8BC5
accent
#50D773
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #97B540

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

Preview Lab → · Contrast checker → · Palette generator →

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