#97B52F#97B52F

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

Color values

HEX#97B52F
RGBrgb(151, 181, 47)
HSLhsl(73, 59%, 45%)
HSVhsv(73, 74%, 71%)
CMYKcmyk(16.6%, 0%, 74%, 29%)
CIE-LABlab(69.35, -28.21, 60.66)
CIE-LCHlch(69.35, 66.90, 114.94°)
OKLaboklab(72.62% -0.083 0.1346)
OKLCHoklch(72.62% 0.158 121.7)
XYZxyz(29.7999, 39.8323, 8.8073)
Luminance0.3983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B52F #4D2FB5
analogous
#B5902F #97B52F #54B52F
triadic
#97B52F #2F97B5 #B52F97
tetradic
#97B52F #2FB590 #4D2FB5 #B52F54
square
#97B52F #2FB590 #4D2FB5 #B52F54
split-complementary
#97B52F #2F54B5 #902FB5
monochromatic
#465416 #6E8422 #97B52F #B4D150 #C9DE80

Accessibility & contrast

On white

2.34
#97B52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#97B52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B52F
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B52F#FFFFFF#000000##000000
##97B52F1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA13
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#9FAC9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #97b52f;
/* rgb */ color: rgb(151, 181, 47);
/* oklch */ color: oklch(72.6% 0.158 121.7);
Tailwind
colors: {
  custom: {
    50: '#b9cb71',
    500: '#97b52f',
    950: '#000000',
  },
}
SCSS
$custom: #97b52f;
$custom-light: #b9cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#97b52f",
  "rgb": {
    "r": 151,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 73.433,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72616,
    "c": 0.15809,
    "h": 121.7
  },
  "luminance": 0.39832
}

Semantic roles & 50–950 ramp

primary
#97B52F
secondary
#8A79C7
accent
#46E269
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B52F

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

Preview Lab → · Contrast checker → · Palette generator →

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