#31C05A#31C05A

#31C05A is a light, vivid green. Relative luminance 0.391; OKLCH L 71.2% C 0.186 H 148.3°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#31C05A
RGBrgb(49, 192, 90)
HSLhsl(137, 59%, 47%)
HSVhsv(137, 74%, 75%)
CMYKcmyk(74.5%, 0%, 53.1%, 24.7%)
CIE-LABlab(68.81, -58.77, 40.56)
CIE-LCHlch(68.81, 71.41, 145.39°)
OKLaboklab(71.15% -0.1581 0.0976)
OKLCHoklch(71.15% 0.186 148.3)
XYZxyz(21.9600, 39.0879, 16.0582)
Luminance0.3909 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C05A #C03197
analogous
#4FC031 #31C05A #31C0A2
triadic
#31C05A #5A31C0 #C05A31
tetradic
#31C05A #314FC0 #C03197 #C0A231
square
#31C05A #314FC0 #C03197 #C0A231
split-complementary
#31C05A #A231C0 #C0314F
monochromatic
#185E2C #258F43 #31C05A #59D57D #8AE1A3

Accessibility & contrast

On white

2.38
#31C05A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#31C05A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C05A
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C05A#FFFFFF#000000##000000
##31C05A1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF51
Deuteranopia (green-blind)
#B1A362
Tritanopia (blue-blind)
#00BCA9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #31c05a;
/* rgb */ color: rgb(49, 192, 90);
/* oklch */ color: oklch(71.2% 0.186 148.3);
Tailwind
colors: {
  custom: {
    50: '#7ed48b',
    500: '#31c05a',
    950: '#000000',
  },
}
SCSS
$custom: #31c05a;
$custom-light: #7ed48b;
$custom-dark: #000000;
JSON
{
  "hex": "#31c05a",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 90
  },
  "hsl": {
    "h": 137.203,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7115,
    "c": 0.18575,
    "h": 148.3
  },
  "luminance": 0.3909
}

Semantic roles & 50–950 ramp

primary
#31C05A
secondary
#CB82B6
accent
#45B5E3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0B140C
muted
#7C837D

Preview Lab

Preview with #31C05A

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

Preview Lab → · Contrast checker → · Palette generator →

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