#31B15B#31B15B

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

Color values

HEX#31B15B
RGBrgb(49, 177, 91)
HSLhsl(140, 57%, 44%)
HSVhsv(140, 72%, 69%)
CMYKcmyk(72.3%, 0%, 48.6%, 30.6%)
CIE-LABlab(64.04, -53.28, 34.15)
CIE-LCHlch(64.04, 63.29, 147.34°)
OKLaboklab(67.2% -0.1434 0.0832)
OKLCHoklch(67.2% 0.166 149.9)
XYZxyz(18.8756, 32.8504, 15.2415)
Luminance0.3285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B15B #B13187
analogous
#47B131 #31B15B #31B19B
triadic
#31B15B #5B31B1 #B15B31
tetradic
#31B15B #3147B1 #B13187 #B19B31
square
#31B15B #3147B1 #B13187 #B19B31
split-complementary
#31B15B #9B31B1 #B13147
monochromatic
#16512A #248142 #31B15B #51CF7A #80DC9E

Accessibility & contrast

On white

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

On black

7.57
#31B15B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B15B
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B15B#FFFFFF#000000##000000
##31B15B1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b15b;
/* rgb */ color: rgb(49, 177, 91);
/* oklch */ color: oklch(67.2% 0.166 149.9);
Tailwind
colors: {
  custom: {
    50: '#7bc98b',
    500: '#31b15b',
    950: '#000000',
  },
}
SCSS
$custom: #31b15b;
$custom-light: #7bc98b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b15b",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 91
  },
  "hsl": {
    "h": 139.688,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67204,
    "c": 0.16579,
    "h": 149.9
  },
  "luminance": 0.32853
}

Semantic roles & 50–950 ramp

primary
#31B15B
secondary
#C579AC
accent
#48AEE0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B15B

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

Preview Lab → · Contrast checker → · Palette generator →

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