#31C24C#31C24C

#31C24C is a light, vivid green. Relative luminance 0.398; OKLCH L 71.5% C 0.200 H 145.9°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#31C24C
RGBrgb(49, 194, 76)
HSLhsl(131, 60%, 48%)
HSVhsv(131, 75%, 76%)
CMYKcmyk(74.7%, 0%, 60.8%, 23.9%)
CIE-LABlab(69.30, -61.30, 47.68)
CIE-LCHlch(69.30, 77.66, 142.12°)
OKLaboklab(71.5% -0.1653 0.1121)
OKLCHoklch(71.5% 0.2 145.9)
XYZxyz(21.8613, 39.7558, 13.3576)
Luminance0.3976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C24C #C231A7
analogous
#5FC231 #31C24C #31C294
triadic
#31C24C #4C31C2 #C24C31
tetradic
#31C24C #315FC2 #C231A7 #C29431
square
#31C24C #315FC2 #C231A7 #C29431
split-complementary
#31C24C #9431C2 #C2315F
monochromatic
#186026 #259139 #31C24C #5BD672 #8CE29C

Accessibility & contrast

On white

2.35
#31C24C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#31C24C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C24C
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C24C#FFFFFF#000000##000000
##31C24C1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03F
Deuteranopia (green-blind)
#B4A556
Tritanopia (blue-blind)
#00BDA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #31c24c;
/* rgb */ color: rgb(49, 194, 76);
/* oklch */ color: oklch(71.5% 0.200 145.9);
Tailwind
colors: {
  custom: {
    50: '#7fd682',
    500: '#31c24c',
    950: '#000000',
  },
}
SCSS
$custom: #31c24c;
$custom-light: #7fd682;
$custom-dark: #000000;
JSON
{
  "hex": "#31c24c",
  "rgb": {
    "r": 49,
    "g": 194,
    "b": 76
  },
  "hsl": {
    "h": 131.172,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71497,
    "c": 0.19968,
    "h": 145.9
  },
  "luminance": 0.39758
}

Semantic roles & 50–950 ramp

primary
#31C24C
secondary
#CC83BE
accent
#45C5E3
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #31C24C

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

Preview Lab → · Contrast checker → · Palette generator →

#31C24C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva