#31C252#31C252

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

Color values

HEX#31C252
RGBrgb(49, 194, 82)
HSLhsl(134, 60%, 48%)
HSVhsv(134, 75%, 76%)
CMYKcmyk(74.7%, 0%, 57.7%, 23.9%)
CIE-LABlab(69.36, -60.56, 45.02)
CIE-LCHlch(69.36, 75.46, 143.37°)
OKLaboklab(71.57% -0.163 0.1068)
OKLCHoklch(71.57% 0.195 146.8)
XYZxyz(22.0798, 39.8432, 14.5079)
Luminance0.3985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C252 #C231A1
analogous
#59C231 #31C252 #31C29A
triadic
#31C252 #5231C2 #C25231
tetradic
#31C252 #3159C2 #C231A1 #C29A31
square
#31C252 #3159C2 #C231A1 #C29A31
split-complementary
#31C252 #9A31C2 #C23159
monochromatic
#186029 #25913D #31C252 #5BD677 #8CE29F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C252#FFFFFF#000000##000000
##31C2521.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)
#C5B047
Deuteranopia (green-blind)
#B4A55B
Tritanopia (blue-blind)
#00BEA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #31c252;
/* rgb */ color: rgb(49, 194, 82);
/* oklch */ color: oklch(71.6% 0.195 146.8);
Tailwind
colors: {
  custom: {
    50: '#7fd686',
    500: '#31c252',
    950: '#000000',
  },
}
SCSS
$custom: #31c252;
$custom-light: #7fd686;
$custom-dark: #000000;
JSON
{
  "hex": "#31c252",
  "rgb": {
    "r": 49,
    "g": 194,
    "b": 82
  },
  "hsl": {
    "h": 133.655,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71569,
    "c": 0.19491,
    "h": 146.8
  },
  "luminance": 0.39846
}

Semantic roles & 50–950 ramp

primary
#31C252
secondary
#CC83BB
accent
#45BFE3
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #31C252

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

Preview Lab → · Contrast checker → · Palette generator →

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