#97C931#97C931

#97C931 is a light, vivid yellow-green. Relative luminance 0.486; OKLCH L 77.3% C 0.181 H 126.6°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#97C931
RGBrgb(151, 201, 49)
HSLhsl(80, 61%, 49%)
HSVhsv(80, 76%, 79%)
CMYKcmyk(24.9%, 0%, 75.6%, 21.2%)
CIE-LABlab(75.19, -37.40, 65.56)
CIE-LCHlch(75.19, 75.48, 119.70°)
OKLaboklab(77.34% -0.1079 0.1452)
OKLCHoklch(77.34% 0.181 126.6)
XYZxyz(34.2037, 48.5737, 10.4788)
Luminance0.4857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C931 #6331C9
analogous
#C9AF31 #97C931 #4BC931
triadic
#97C931 #3197C9 #C93197
tetradic
#97C931 #31C9AF #6331C9 #C9314B
square
#97C931 #31C9AF #6331C9 #C9314B
split-complementary
#97C931 #314BC9 #AF31C9
monochromatic
#4D6719 #729825 #97C931 #B0D85F #C9E490

Accessibility & contrast

On white

1.96
#97C931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#97C931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97C931
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97C931#FFFFFF#000000##000000
##97C9311.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB0A
Deuteranopia (green-blind)
#CDB840
Tritanopia (blue-blind)
#9DBFAC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #97c931;
/* rgb */ color: rgb(151, 201, 49);
/* oklch */ color: oklch(77.3% 0.181 126.6);
Tailwind
colors: {
  custom: {
    50: '#bad975',
    500: '#97c931',
    950: '#000000',
  },
}
SCSS
$custom: #97c931;
$custom-light: #bad975;
$custom-dark: #000000;
JSON
{
  "hex": "#97c931",
  "rgb": {
    "r": 151,
    "g": 201,
    "b": 49
  },
  "hsl": {
    "h": 79.737,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77342,
    "c": 0.18093,
    "h": 126.6
  },
  "luminance": 0.48574
}

Semantic roles & 50–950 ramp

primary
#97C931
secondary
#9F87CF
accent
#44E479
background
#FBFDF7
surface
#F7FAED
border
#D0D3C8
text
#121409
muted
#81837B

Preview Lab

Preview with #97C931

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

Preview Lab → · Contrast checker → · Palette generator →

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