#31B15A#31B15A

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

Color values

HEX#31B15A
RGBrgb(49, 177, 90)
HSLhsl(139, 57%, 44%)
HSVhsv(139, 72%, 69%)
CMYKcmyk(72.3%, 0%, 49.2%, 30.6%)
CIE-LABlab(64.03, -53.45, 34.65)
CIE-LCHlch(64.03, 63.69, 147.05°)
OKLaboklab(67.19% -0.1438 0.0843)
OKLCHoklch(67.19% 0.167 149.6)
XYZxyz(18.8327, 32.8333, 15.0158)
Luminance0.3283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B15A #B13188
analogous
#48B131 #31B15A #31B19A
triadic
#31B15A #5A31B1 #B15A31
tetradic
#31B15A #3148B1 #B13188 #B19A31
square
#31B15A #3148B1 #B13188 #B19A31
split-complementary
#31B15A #9A31B1 #B13148
monochromatic
#165129 #248142 #31B15A #51CF79 #80DC9E

Accessibility & contrast

On white

2.78
#31B15A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B15A#FFFFFF#000000##000000
##31B15A1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b15a;
/* rgb */ color: rgb(49, 177, 90);
/* oklch */ color: oklch(67.2% 0.167 149.6);
Tailwind
colors: {
  custom: {
    50: '#7bc98a',
    500: '#31b15a',
    950: '#000000',
  },
}
SCSS
$custom: #31b15a;
$custom-light: #7bc98a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b15a",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 90
  },
  "hsl": {
    "h": 139.219,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67188,
    "c": 0.1667,
    "h": 149.6
  },
  "luminance": 0.32835
}

Semantic roles & 50–950 ramp

primary
#31B15A
secondary
#C579AD
accent
#48AFE0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B15A

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

Preview Lab → · Contrast checker → · Palette generator →

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