#31A161#31A161

#31A161 is a light, vivid green. Relative luminance 0.270; OKLCH L 63.1% C 0.139 H 153.9°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#31A161
RGBrgb(49, 161, 97)
HSLhsl(146, 53%, 41%)
HSVhsv(146, 70%, 63%)
CMYKcmyk(69.6%, 0%, 39.8%, 36.9%)
CIE-LABlab(58.98, -46.14, 24.47)
CIE-LCHlch(58.98, 52.23, 152.06°)
OKLaboklab(63.06% -0.1246 0.061)
OKLCHoklch(63.06% 0.139 153.9)
XYZxyz(16.1677, 27.0040, 15.6672)
Luminance0.2701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A161 #A13171
analogous
#39A131 #31A161 #31A199
triadic
#31A161 #6131A1 #A16131
tetradic
#31A161 #3139A1 #A13171 #A19931
square
#31A161 #3139A1 #A13171 #A19931
split-complementary
#31A161 #9931A1 #A13139
monochromatic
#144328 #237245 #31A161 #48C77F #77D69F

Accessibility & contrast

On white

3.28
#31A161 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#31A161 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A161
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A161#FFFFFF#000000##000000
##31A1611.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1945D
Deuteranopia (green-blind)
#938A65
Tritanopia (blue-blind)
#009F91
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a161;
/* rgb */ color: rgb(49, 161, 97);
/* oklch */ color: oklch(63.1% 0.139 153.9);
Tailwind
colors: {
  custom: {
    50: '#78be8e',
    500: '#31a161',
    950: '#000000',
  },
}
SCSS
$custom: #31a161;
$custom-light: #78be8e;
$custom-dark: #000000;
JSON
{
  "hex": "#31a161",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 97
  },
  "hsl": {
    "h": 145.714,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63058,
    "c": 0.13874,
    "h": 153.9
  },
  "luminance": 0.27006
}

Semantic roles & 50–950 ramp

primary
#31A161
secondary
#BE709C
accent
#4B9EDD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A161

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

Preview Lab → · Contrast checker → · Palette generator →

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