#97CA31#97CA31

#97CA31 is a light, vivid yellow-green. Relative luminance 0.490; OKLCH L 77.6% C 0.182 H 126.8°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#97CA31
RGBrgb(151, 202, 49)
HSLhsl(80, 61%, 49%)
HSVhsv(80, 76%, 79%)
CMYKcmyk(25.2%, 0%, 75.7%, 20.8%)
CIE-LABlab(75.48, -37.85, 65.84)
CIE-LCHlch(75.48, 75.94, 119.89°)
OKLaboklab(77.58% -0.1092 0.1458)
OKLCHoklch(77.58% 0.182 126.8)
XYZxyz(34.4375, 49.0415, 10.5567)
Luminance0.4904 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97CA31 #6431CA
analogous
#CAB131 #97CA31 #4BCA31
triadic
#97CA31 #3197CA #CA3197
tetradic
#97CA31 #31CAB1 #6431CA #CA314B
square
#97CA31 #31CAB1 #6431CA #CA314B
split-complementary
#97CA31 #314BCA #B131CA
monochromatic
#4D6719 #729925 #97CA31 #B0D860 #C9E491

Accessibility & contrast

On white

1.94
#97CA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#97CA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97CA31
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97CA31#FFFFFF#000000##000000
##97CA311.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC09
Deuteranopia (green-blind)
#CEB940
Tritanopia (blue-blind)
#9DC0AD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #97ca31;
/* rgb */ color: rgb(151, 202, 49);
/* oklch */ color: oklch(77.6% 0.182 126.8);
Tailwind
colors: {
  custom: {
    50: '#bada75',
    500: '#97ca31',
    950: '#000000',
  },
}
SCSS
$custom: #97ca31;
$custom-light: #bada75;
$custom-dark: #000000;
JSON
{
  "hex": "#97ca31",
  "rgb": {
    "r": 151,
    "g": 202,
    "b": 49
  },
  "hsl": {
    "h": 80,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77579,
    "c": 0.18213,
    "h": 126.8
  },
  "luminance": 0.49042
}

Semantic roles & 50–950 ramp

primary
#97CA31
secondary
#A088CF
accent
#44E479
background
#FBFDF7
surface
#F7FAED
border
#D0D3C8
text
#121509
muted
#81837B

Preview Lab

Preview with #97CA31

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

Preview Lab → · Contrast checker → · Palette generator →

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