#97B52B#97B52B

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

Color values

HEX#97B52B
RGBrgb(151, 181, 43)
HSLhsl(73, 62%, 44%)
HSVhsv(73, 76%, 71%)
CMYKcmyk(16.6%, 0%, 76.2%, 29%)
CIE-LABlab(69.33, -28.41, 61.97)
CIE-LCHlch(69.33, 68.17, 114.63°)
OKLaboklab(72.59% -0.0838 0.1367)
OKLCHoklch(72.59% 0.16 121.5)
XYZxyz(29.7229, 39.8015, 8.4016)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B52B #492BB5
analogous
#B58E2B #97B52B #52B52B
triadic
#97B52B #2B97B5 #B52B97
tetradic
#97B52B #2BB58E #492BB5 #B52B52
square
#97B52B #2BB58E #492BB5 #B52B52
split-complementary
#97B52B #2B52B5 #8E2BB5
monochromatic
#445214 #6E841F #97B52B #B6D449 #CAE07B

Accessibility & contrast

On white

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

On black

8.96
#97B52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B52B
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B52B#FFFFFF#000000##000000
##97B52B1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA07
Deuteranopia (green-blind)
#BCA938
Tritanopia (blue-blind)
#9FAB9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #97b52b;
/* rgb */ color: rgb(151, 181, 43);
/* oklch */ color: oklch(72.6% 0.160 121.5);
Tailwind
colors: {
  custom: {
    50: '#b9cb6f',
    500: '#97b52b',
    950: '#000000',
  },
}
SCSS
$custom: #97b52b;
$custom-light: #b9cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#97b52b",
  "rgb": {
    "r": 151,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 73.043,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72591,
    "c": 0.16034,
    "h": 121.5
  },
  "luminance": 0.39801
}

Semantic roles & 50–950 ramp

primary
#97B52B
secondary
#8674C8
accent
#43E566
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B52B

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

Preview Lab → · Contrast checker → · Palette generator →

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