#31C05D#31C05D

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

Color values

HEX#31C05D
RGBrgb(49, 192, 93)
HSLhsl(138, 59%, 47%)
HSVhsv(138, 74%, 75%)
CMYKcmyk(74.5%, 0%, 51.6%, 24.7%)
CIE-LABlab(68.85, -58.33, 39.15)
CIE-LCHlch(68.85, 70.25, 146.13°)
OKLaboklab(71.19% -0.1568 0.0946)
OKLCHoklch(71.19% 0.183 148.9)
XYZxyz(22.0903, 39.1400, 16.7444)
Luminance0.3914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C05D #C03194
analogous
#4CC031 #31C05D #31C0A5
triadic
#31C05D #5D31C0 #C05D31
tetradic
#31C05D #314CC0 #C03194 #C0A531
square
#31C05D #314CC0 #C03194 #C0A531
split-complementary
#31C05D #A531C0 #C0314C
monochromatic
#185E2E #258F45 #31C05D #59D57F #8AE1A5

Accessibility & contrast

On white

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

On black

8.83
#31C05D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C05D
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C05D#FFFFFF#000000##000000
##31C05D1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31c05d;
/* rgb */ color: rgb(49, 192, 93);
/* oklch */ color: oklch(71.2% 0.183 148.9);
Tailwind
colors: {
  custom: {
    50: '#7ed48d',
    500: '#31c05d',
    950: '#000000',
  },
}
SCSS
$custom: #31c05d;
$custom-light: #7ed48d;
$custom-dark: #000000;
JSON
{
  "hex": "#31c05d",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 93
  },
  "hsl": {
    "h": 138.462,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71193,
    "c": 0.18315,
    "h": 148.9
  },
  "luminance": 0.39143
}

Semantic roles & 50–950 ramp

primary
#31C05D
secondary
#CB82B5
accent
#45B2E3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0B140C
muted
#7C837D

Preview Lab

Preview with #31C05D

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

Preview Lab → · Contrast checker → · Palette generator →

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