#31C951#31C951

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

Color values

HEX#31C951
RGBrgb(49, 201, 81)
HSLhsl(133, 61%, 49%)
HSVhsv(133, 76%, 79%)
CMYKcmyk(75.6%, 0%, 59.7%, 21.2%)
CIE-LABlab(71.57, -63.02, 48.05)
CIE-LCHlch(71.57, 79.25, 142.67°)
OKLaboklab(73.4% -0.1697 0.1133)
OKLCHoklch(73.4% 0.204 146.3)
XYZxyz(23.6367, 43.0176, 14.8405)
Luminance0.4302 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C951 #C931A9
analogous
#5DC931 #31C951 #31C99D
triadic
#31C951 #5131C9 #C95131
tetradic
#31C951 #315DC9 #C931A9 #C99D31
square
#31C951 #315DC9 #C931A9 #C99D31
split-complementary
#31C951 #9D31C9 #C9315D
monochromatic
#196729 #25983D #31C951 #5FD879 #90E4A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C951#FFFFFF#000000##000000
##31C9511.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)
#CCB744
Deuteranopia (green-blind)
#BBAB5B
Tritanopia (blue-blind)
#00C4AF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #31c951;
/* rgb */ color: rgb(49, 201, 81);
/* oklch */ color: oklch(73.4% 0.204 146.3);
Tailwind
colors: {
  custom: {
    50: '#81db86',
    500: '#31c951',
    950: '#000000',
  },
}
SCSS
$custom: #31c951;
$custom-light: #81db86;
$custom-dark: #000000;
JSON
{
  "hex": "#31c951",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 132.632,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73398,
    "c": 0.20407,
    "h": 146.3
  },
  "luminance": 0.4302
}

Semantic roles & 50–950 ramp

primary
#31C951
secondary
#CF87C0
accent
#44C2E4
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150B
muted
#7D837C

Preview Lab

Preview with #31C951

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

Preview Lab → · Contrast checker → · Palette generator →

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