#97B525#97B525

#97B525 is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.6% C 0.163 H 121.4°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#97B525
RGBrgb(151, 181, 37)
HSLhsl(73, 66%, 43%)
HSVhsv(73, 80%, 71%)
CMYKcmyk(16.6%, 0%, 79.6%, 29%)
CIE-LABlab(69.30, -28.67, 63.78)
CIE-LCHlch(69.30, 69.93, 114.21°)
OKLaboklab(72.56% -0.085 0.1395)
OKLCHoklch(72.56% 0.163 121.4)
XYZxyz(29.6208, 39.7606, 7.8640)
Luminance0.3976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B525 #4325B5
analogous
#B58B25 #97B525 #4FB525
triadic
#97B525 #2597B5 #B52597
tetradic
#97B525 #25B58B #4325B5 #B5254F
square
#97B525 #25B58B #4325B5 #B5254F
split-complementary
#97B525 #254FB5 #8B25B5
monochromatic
#424F10 #6D821B #97B525 #B8D83F #CBE272

Accessibility & contrast

On white

2.35
#97B525 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#97B525 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B525
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B525#FFFFFF#000000##000000
##97B5251.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BDA934
Tritanopia (blue-blind)
#A0AB9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #97b525;
/* rgb */ color: rgb(151, 181, 37);
/* oklch */ color: oklch(72.6% 0.163 121.4);
Tailwind
colors: {
  custom: {
    50: '#b9cb6d',
    500: '#97b525',
    950: '#000000',
  },
}
SCSS
$custom: #97b525;
$custom-light: #b9cb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#97b525",
  "rgb": {
    "r": 151,
    "g": 181,
    "b": 37
  },
  "hsl": {
    "h": 72.5,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72558,
    "c": 0.16334,
    "h": 121.4
  },
  "luminance": 0.39761
}

Semantic roles & 50–950 ramp

primary
#97B525
secondary
#806DC9
accent
#3FE962
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #97B525

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

Preview Lab → · Contrast checker → · Palette generator →

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