#31B15F#31B15F

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

Color values

HEX#31B15F
RGBrgb(49, 177, 95)
HSLhsl(142, 57%, 44%)
HSVhsv(142, 72%, 69%)
CMYKcmyk(72.3%, 0%, 46.3%, 30.6%)
CIE-LABlab(64.10, -52.62, 32.18)
CIE-LCHlch(64.10, 61.68, 148.56°)
OKLaboklab(67.27% -0.1416 0.0789)
OKLCHoklch(67.27% 0.162 150.9)
XYZxyz(19.0527, 32.9213, 16.1746)
Luminance0.3292 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B15F #B13183
analogous
#43B131 #31B15F #31B19F
triadic
#31B15F #5F31B1 #B15F31
tetradic
#31B15F #3143B1 #B13183 #B19F31
square
#31B15F #3143B1 #B13183 #B19F31
split-complementary
#31B15F #9F31B1 #B13143
monochromatic
#16512C #248145 #31B15F #51CF7E #80DCA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B15F#FFFFFF#000000##000000
##31B15F1.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)
#B2A259
Deuteranopia (green-blind)
#A29765
Tritanopia (blue-blind)
#00AE9D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b15f;
/* rgb */ color: rgb(49, 177, 95);
/* oklch */ color: oklch(67.3% 0.162 150.9);
Tailwind
colors: {
  custom: {
    50: '#7bc98d',
    500: '#31b15f',
    950: '#000000',
  },
}
SCSS
$custom: #31b15f;
$custom-light: #7bc98d;
$custom-dark: #000000;
JSON
{
  "hex": "#31b15f",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 95
  },
  "hsl": {
    "h": 141.563,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6727,
    "c": 0.16211,
    "h": 150.9
  },
  "luminance": 0.32923
}

Semantic roles & 50–950 ramp

primary
#31B15F
secondary
#C579AA
accent
#48A9E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B15F

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

Preview Lab → · Contrast checker → · Palette generator →

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