#31C05B#31C05B

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

Color values

HEX#31C05B
RGBrgb(49, 192, 91)
HSLhsl(138, 59%, 47%)
HSVhsv(138, 74%, 75%)
CMYKcmyk(74.5%, 0%, 52.6%, 24.7%)
CIE-LABlab(68.83, -58.63, 40.09)
CIE-LCHlch(68.83, 71.03, 145.63°)
OKLaboklab(71.16% -0.1577 0.0966)
OKLCHoklch(71.16% 0.185 148.5)
XYZxyz(22.0028, 39.1050, 16.2839)
Luminance0.3911 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C05B #C03196
analogous
#4FC031 #31C05B #31C0A2
triadic
#31C05B #5B31C0 #C05B31
tetradic
#31C05B #314FC0 #C03196 #C0A231
square
#31C05B #314FC0 #C03196 #C0A231
split-complementary
#31C05B #A231C0 #C0314F
monochromatic
#185E2D #258F44 #31C05B #59D57E #8AE1A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C05B#FFFFFF#000000##000000
##31C05B1.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)
#C2AF52
Deuteranopia (green-blind)
#B1A363
Tritanopia (blue-blind)
#00BCA9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #31c05b;
/* rgb */ color: rgb(49, 192, 91);
/* oklch */ color: oklch(71.2% 0.185 148.5);
Tailwind
colors: {
  custom: {
    50: '#7ed48b',
    500: '#31c05b',
    950: '#000000',
  },
}
SCSS
$custom: #31c05b;
$custom-light: #7ed48b;
$custom-dark: #000000;
JSON
{
  "hex": "#31c05b",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 91
  },
  "hsl": {
    "h": 137.622,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71164,
    "c": 0.18489,
    "h": 148.5
  },
  "luminance": 0.39108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31C05B

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

Preview Lab → · Contrast checker → · Palette generator →

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