#31C950#31C950

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

Color values

HEX#31C950
RGBrgb(49, 201, 80)
HSLhsl(132, 61%, 49%)
HSVhsv(132, 76%, 79%)
CMYKcmyk(75.6%, 0%, 60.2%, 21.2%)
CIE-LABlab(71.56, -63.14, 48.49)
CIE-LCHlch(71.56, 79.61, 142.48°)
OKLaboklab(73.39% -0.1701 0.1142)
OKLCHoklch(73.39% 0.205 146.1)
XYZxyz(23.5995, 43.0027, 14.6445)
Luminance0.4300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C950 #C931AA
analogous
#5EC931 #31C950 #31C99C
triadic
#31C950 #5031C9 #C95031
tetradic
#31C950 #315EC9 #C931AA #C99C31
square
#31C950 #315EC9 #C931AA #C99C31
split-complementary
#31C950 #9C31C9 #C9315E
monochromatic
#196729 #25983C #31C950 #5FD878 #90E4A1

Accessibility & contrast

On white

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

On black

9.60
#31C950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C950
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C950#FFFFFF#000000##000000
##31C9501.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31c950;
/* rgb */ color: rgb(49, 201, 80);
/* oklch */ color: oklch(73.4% 0.205 146.1);
Tailwind
colors: {
  custom: {
    50: '#81db85',
    500: '#31c950',
    950: '#000000',
  },
}
SCSS
$custom: #31c950;
$custom-light: #81db85;
$custom-dark: #000000;
JSON
{
  "hex": "#31c950",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 132.237,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73386,
    "c": 0.20485,
    "h": 146.1
  },
  "luminance": 0.43005
}

Semantic roles & 50–950 ramp

primary
#31C950
secondary
#CF87C0
accent
#44C3E4
background
#F8FDF8
surface
#F0FBEF
border
#CBD4CA
text
#0C150B
muted
#7D837C

Preview Lab

Preview with #31C950

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

Preview Lab → · Contrast checker → · Palette generator →

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