#97C031#97C031

#97C031 is a light, vivid yellow-green. Relative luminance 0.445; OKLCH L 75.2% C 0.170 H 124.7°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#97C031
RGBrgb(151, 192, 49)
HSLhsl(77, 59%, 47%)
HSVhsv(77, 74%, 75%)
CMYKcmyk(21.4%, 0%, 74.5%, 24.7%)
CIE-LABlab(72.56, -33.29, 63.06)
CIE-LCHlch(72.56, 71.31, 117.83°)
OKLaboklab(75.22% -0.0967 0.14)
OKLCHoklch(75.22% 0.17 124.7)
XYZxyz(32.1668, 44.5000, 9.7998)
Luminance0.4450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C031 #5A31C0
analogous
#C0A231 #97C031 #4FC031
triadic
#97C031 #3197C0 #C03197
tetradic
#97C031 #31C0A2 #5A31C0 #C0314F
square
#97C031 #31C0A2 #5A31C0 #C0314F
split-complementary
#97C031 #314FC0 #A231C0
monochromatic
#4A5E18 #718F25 #97C031 #B1D559 #C8E18A

Accessibility & contrast

On white

2.12
#97C031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#97C031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97C031
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97C031#FFFFFF#000000##000000
##97C0311.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB311
Deuteranopia (green-blind)
#C5B23E
Tritanopia (blue-blind)
#9EB7A5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #97c031;
/* rgb */ color: rgb(151, 192, 49);
/* oklch */ color: oklch(75.2% 0.170 124.7);
Tailwind
colors: {
  custom: {
    50: '#b9d374',
    500: '#97c031',
    950: '#000000',
  },
}
SCSS
$custom: #97c031;
$custom-light: #b9d374;
$custom-dark: #000000;
JSON
{
  "hex": "#97c031",
  "rgb": {
    "r": 151,
    "g": 192,
    "b": 49
  },
  "hsl": {
    "h": 77.203,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.75215,
    "c": 0.17013,
    "h": 124.7
  },
  "luminance": 0.445
}

Semantic roles & 50–950 ramp

primary
#97C031
secondary
#9782CB
accent
#45E372
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121409
muted
#81827B

Preview Lab

Preview with #97C031

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

Preview Lab → · Contrast checker → · Palette generator →

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