#97B531#97B531

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

Color values

HEX#97B531
RGBrgb(151, 181, 49)
HSLhsl(74, 57%, 45%)
HSVhsv(74, 73%, 71%)
CMYKcmyk(16.6%, 0%, 72.9%, 29%)
CIE-LABlab(69.36, -28.11, 59.97)
CIE-LCHlch(69.36, 66.23, 115.11°)
OKLaboklab(72.63% -0.0825 0.1335)
OKLCHoklch(72.63% 0.157 121.7)
XYZxyz(29.8412, 39.8488, 9.0246)
Luminance0.3985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B531 #4F31B5
analogous
#B59131 #97B531 #55B531
triadic
#97B531 #3197B5 #B53197
tetradic
#97B531 #31B591 #4F31B5 #B53155
square
#97B531 #31B591 #4F31B5 #B53155
split-complementary
#97B531 #3155B5 #9131B5
monochromatic
#475517 #6F8524 #97B531 #B4D053 #C9DD83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97B531#FFFFFF#000000##000000
##97B5311.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)
#C0AA18
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#9FAC9C
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #97b531;
/* rgb */ color: rgb(151, 181, 49);
/* oklch */ color: oklch(72.6% 0.157 121.7);
Tailwind
colors: {
  custom: {
    50: '#b9cb72',
    500: '#97b531',
    950: '#000000',
  },
}
SCSS
$custom: #97b531;
$custom-light: #b9cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#97b531",
  "rgb": {
    "r": 151,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 73.636,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72629,
    "c": 0.15691,
    "h": 121.7
  },
  "luminance": 0.39849
}

Semantic roles & 50–950 ramp

primary
#97B531
secondary
#8C7BC7
accent
#47E16A
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B531

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

Preview Lab → · Contrast checker → · Palette generator →

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