#31B15D#31B15D

#31B15D is a light, vivid green. Relative luminance 0.329; OKLCH L 67.2% C 0.164 H 150.4°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#31B15D
RGBrgb(49, 177, 93)
HSLhsl(141, 57%, 44%)
HSVhsv(141, 72%, 69%)
CMYKcmyk(72.3%, 0%, 47.5%, 30.6%)
CIE-LABlab(64.07, -52.96, 33.17)
CIE-LCHlch(64.07, 62.49, 147.94°)
OKLaboklab(67.24% -0.1425 0.0811)
OKLCHoklch(67.24% 0.164 150.4)
XYZxyz(18.9630, 32.8854, 15.7019)
Luminance0.3289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B15D #B13185
analogous
#45B131 #31B15D #31B19D
triadic
#31B15D #5D31B1 #B15D31
tetradic
#31B15D #3145B1 #B13185 #B19D31
square
#31B15D #3145B1 #B13185 #B19D31
split-complementary
#31B15D #9D31B1 #B13145
monochromatic
#16512B #248144 #31B15D #51CF7C #80DCA0

Accessibility & contrast

On white

2.77
#31B15D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#31B15D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B15D
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B15D#FFFFFF#000000##000000
##31B15D1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A256
Deuteranopia (green-blind)
#A39763
Tritanopia (blue-blind)
#00AE9D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b15d;
/* rgb */ color: rgb(49, 177, 93);
/* oklch */ color: oklch(67.2% 0.164 150.4);
Tailwind
colors: {
  custom: {
    50: '#7bc98c',
    500: '#31b15d',
    950: '#000000',
  },
}
SCSS
$custom: #31b15d;
$custom-light: #7bc98c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b15d",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 93
  },
  "hsl": {
    "h": 140.625,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67237,
    "c": 0.16396,
    "h": 150.4
  },
  "luminance": 0.32888
}

Semantic roles & 50–950 ramp

primary
#31B15D
secondary
#C579AB
accent
#48ACE0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B15D

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

Preview Lab → · Contrast checker → · Palette generator →

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