#31A15B#31A15B

#31A15B is a light, vivid green. Relative luminance 0.269; OKLCH L 62.9% C 0.144 H 151.9°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#31A15B
RGBrgb(49, 161, 91)
HSLhsl(143, 53%, 41%)
HSVhsv(143, 70%, 63%)
CMYKcmyk(69.6%, 0%, 43.5%, 36.9%)
CIE-LABlab(58.88, -47.26, 27.56)
CIE-LCHlch(58.88, 54.71, 149.75°)
OKLaboklab(62.94% -0.1274 0.0681)
OKLCHoklch(62.94% 0.144 151.9)
XYZxyz(15.8985, 26.8963, 14.2491)
Luminance0.2690 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A15B #A13177
analogous
#3FA131 #31A15B #31A193
triadic
#31A15B #5B31A1 #A15B31
tetradic
#31A15B #313FA1 #A13177 #A19331
square
#31A15B #313FA1 #A13177 #A19331
split-complementary
#31A15B #9331A1 #A1313F
monochromatic
#144326 #237240 #31A15B #48C778 #77D69A

Accessibility & contrast

On white

3.29
#31A15B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#31A15B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A15B
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A15B#FFFFFF#000000##000000
##31A15B1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19456
Deuteranopia (green-blind)
#948A60
Tritanopia (blue-blind)
#009F90
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a15b;
/* rgb */ color: rgb(49, 161, 91);
/* oklch */ color: oklch(62.9% 0.144 151.9);
Tailwind
colors: {
  custom: {
    50: '#78be8a',
    500: '#31a15b',
    950: '#000000',
  },
}
SCSS
$custom: #31a15b;
$custom-light: #78be8a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a15b",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 91
  },
  "hsl": {
    "h": 142.5,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62943,
    "c": 0.14445,
    "h": 151.9
  },
  "luminance": 0.26898
}

Semantic roles & 50–950 ramp

primary
#31A15B
secondary
#BE70A1
accent
#4BA6DD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A15B

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

Preview Lab → · Contrast checker → · Palette generator →

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