#31B15C#31B15C

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

Color values

HEX#31B15C
RGBrgb(49, 177, 92)
HSLhsl(140, 57%, 44%)
HSVhsv(140, 72%, 69%)
CMYKcmyk(72.3%, 0%, 48%, 30.6%)
CIE-LABlab(64.05, -53.12, 33.66)
CIE-LCHlch(64.05, 62.89, 147.64°)
OKLaboklab(67.22% -0.1429 0.0822)
OKLCHoklch(67.22% 0.165 150.1)
XYZxyz(18.9190, 32.8678, 15.4702)
Luminance0.3287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B15C #B13186
analogous
#46B131 #31B15C #31B19C
triadic
#31B15C #5C31B1 #B15C31
tetradic
#31B15C #3146B1 #B13186 #B19C31
square
#31B15C #3146B1 #B13186 #B19C31
split-complementary
#31B15C #9C31B1 #B13146
monochromatic
#16512A #248143 #31B15C #51CF7B #80DC9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B15C#FFFFFF#000000##000000
##31B15C1.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)
#B2A255
Deuteranopia (green-blind)
#A39762
Tritanopia (blue-blind)
#00AE9D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b15c;
/* rgb */ color: rgb(49, 177, 92);
/* oklch */ color: oklch(67.2% 0.165 150.1);
Tailwind
colors: {
  custom: {
    50: '#7bc98b',
    500: '#31b15c',
    950: '#000000',
  },
}
SCSS
$custom: #31b15c;
$custom-light: #7bc98b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b15c",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 92
  },
  "hsl": {
    "h": 140.156,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6722,
    "c": 0.16487,
    "h": 150.1
  },
  "luminance": 0.3287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B15C

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

Preview Lab → · Contrast checker → · Palette generator →

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