#97B831#97B831

#97B831 is a light, vivid yellow-green. Relative luminance 0.411; OKLCH L 73.3% C 0.161 H 122.6°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#97B831
RGBrgb(151, 184, 49)
HSLhsl(75, 58%, 46%)
HSVhsv(75, 73%, 72%)
CMYKcmyk(17.9%, 0%, 73.4%, 27.8%)
CIE-LABlab(70.23, -29.54, 60.82)
CIE-LCHlch(70.23, 67.61, 115.91°)
OKLaboklab(73.33% -0.0864 0.1352)
OKLCHoklch(73.33% 0.161 122.6)
XYZxyz(30.4578, 41.0819, 9.2301)
Luminance0.4108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B831 #5231B8
analogous
#B89531 #97B831 #53B831
triadic
#97B831 #3197B8 #B83197
tetradic
#97B831 #31B895 #5231B8 #B83153
square
#97B831 #31B895 #5231B8 #B83153
split-complementary
#97B831 #3153B8 #9531B8
monochromatic
#485717 #6F8824 #97B831 #B3D255 #C9DE85

Accessibility & contrast

On white

2.28
#97B831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#97B831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B831
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B831#FFFFFF#000000##000000
##97B8311.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD16
Deuteranopia (green-blind)
#BFAC3D
Tritanopia (blue-blind)
#9FAF9E
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #97b831;
/* rgb */ color: rgb(151, 184, 49);
/* oklch */ color: oklch(73.3% 0.161 122.6);
Tailwind
colors: {
  custom: {
    50: '#b9cd73',
    500: '#97b831',
    950: '#000000',
  },
}
SCSS
$custom: #97b831;
$custom-light: #b9cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#97b831",
  "rgb": {
    "r": 151,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 74.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73333,
    "c": 0.16051,
    "h": 122.6
  },
  "luminance": 0.41082
}

Semantic roles & 50–950 ramp

primary
#97B831
secondary
#8F7DC8
accent
#47E16C
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121309
muted
#81827B

Preview Lab

Preview with #97B831

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

Preview Lab → · Contrast checker → · Palette generator →

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