#31C251#31C251

#31C251 is a light, vivid green. Relative luminance 0.398; OKLCH L 71.6% C 0.196 H 146.6°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#31C251
RGBrgb(49, 194, 81)
HSLhsl(133, 60%, 48%)
HSVhsv(133, 75%, 76%)
CMYKcmyk(74.7%, 0%, 58.2%, 23.9%)
CIE-LABlab(69.35, -60.68, 45.47)
CIE-LCHlch(69.35, 75.83, 143.16°)
OKLaboklab(71.56% -0.1634 0.1077)
OKLCHoklch(71.56% 0.196 146.6)
XYZxyz(22.0420, 39.8281, 14.3089)
Luminance0.3983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C251 #C231A2
analogous
#5AC231 #31C251 #31C299
triadic
#31C251 #5131C2 #C25131
tetradic
#31C251 #315AC2 #C231A2 #C29931
square
#31C251 #315AC2 #C231A2 #C29931
split-complementary
#31C251 #9931C2 #C2315A
monochromatic
#186028 #25913D #31C251 #5BD676 #8CE29F

Accessibility & contrast

On white

2.34
#31C251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#31C251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C251
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C251#FFFFFF#000000##000000
##31C2511.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31c251;
/* rgb */ color: rgb(49, 194, 81);
/* oklch */ color: oklch(71.6% 0.196 146.6);
Tailwind
colors: {
  custom: {
    50: '#7fd685',
    500: '#31c251',
    950: '#000000',
  },
}
SCSS
$custom: #31c251;
$custom-light: #7fd685;
$custom-dark: #000000;
JSON
{
  "hex": "#31c251",
  "rgb": {
    "r": 49,
    "g": 194,
    "b": 81
  },
  "hsl": {
    "h": 133.241,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71557,
    "c": 0.19573,
    "h": 146.6
  },
  "luminance": 0.39831
}

Semantic roles & 50–950 ramp

primary
#31C251
secondary
#CC83BC
accent
#45C0E3
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #31C251

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

Preview Lab → · Contrast checker → · Palette generator →

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