#31C952#31C952

#31C952 is a light, highly saturated green. Relative luminance 0.430; OKLCH L 73.4% C 0.203 H 146.4°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#31C952
RGBrgb(49, 201, 82)
HSLhsl(133, 61%, 49%)
HSVhsv(133, 76%, 79%)
CMYKcmyk(75.6%, 0%, 59.2%, 21.2%)
CIE-LABlab(71.58, -62.89, 47.61)
CIE-LCHlch(71.58, 78.88, 142.87°)
OKLaboklab(73.41% -0.1694 0.1124)
OKLCHoklch(73.41% 0.203 146.4)
XYZxyz(23.6745, 43.0327, 15.0394)
Luminance0.4304 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C952 #C931A8
analogous
#5CC931 #31C952 #31C99E
triadic
#31C952 #5231C9 #C95231
tetradic
#31C952 #315CC9 #C931A8 #C99E31
square
#31C952 #315CC9 #C931A8 #C99E31
split-complementary
#31C952 #9E31C9 #C9315C
monochromatic
#19672A #25983E #31C952 #5FD879 #90E4A3

Accessibility & contrast

On white

2.19
#31C952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#31C952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C952
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C952#FFFFFF#000000##000000
##31C9521.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB746
Deuteranopia (green-blind)
#BBAB5C
Tritanopia (blue-blind)
#00C4AF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #31c952;
/* rgb */ color: rgb(49, 201, 82);
/* oklch */ color: oklch(73.4% 0.203 146.4);
Tailwind
colors: {
  custom: {
    50: '#81db86',
    500: '#31c952',
    950: '#000000',
  },
}
SCSS
$custom: #31c952;
$custom-light: #81db86;
$custom-dark: #000000;
JSON
{
  "hex": "#31c952",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 82
  },
  "hsl": {
    "h": 133.026,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73409,
    "c": 0.20329,
    "h": 146.4
  },
  "luminance": 0.43035
}

Semantic roles & 50–950 ramp

primary
#31C952
secondary
#CF87BF
accent
#44C1E4
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150B
muted
#7D837C

Preview Lab

Preview with #31C952

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

Preview Lab → · Contrast checker → · Palette generator →

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