#31B161#31B161

#31B161 is a light, vivid green. Relative luminance 0.330; OKLCH L 67.3% C 0.160 H 151.4°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#31B161
RGBrgb(49, 177, 97)
HSLhsl(143, 57%, 44%)
HSVhsv(143, 72%, 69%)
CMYKcmyk(72.3%, 0%, 45.2%, 30.6%)
CIE-LABlab(64.13, -52.28, 31.18)
CIE-LCHlch(64.13, 60.87, 149.19°)
OKLaboklab(67.31% -0.1407 0.0767)
OKLCHoklch(67.31% 0.16 151.4)
XYZxyz(19.1448, 32.9581, 16.6595)
Luminance0.3296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B161 #B13181
analogous
#41B131 #31B161 #31B1A1
triadic
#31B161 #6131B1 #B16131
tetradic
#31B161 #3141B1 #B13181 #B1A131
square
#31B161 #3141B1 #B13181 #B1A131
split-complementary
#31B161 #A131B1 #B13141
monochromatic
#16512C #248147 #31B161 #51CF80 #80DCA3

Accessibility & contrast

On white

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

On black

7.59
#31B161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B161
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B161#FFFFFF#000000##000000
##31B1611.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A25B
Deuteranopia (green-blind)
#A29767
Tritanopia (blue-blind)
#00AE9E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b161;
/* rgb */ color: rgb(49, 177, 97);
/* oklch */ color: oklch(67.3% 0.160 151.4);
Tailwind
colors: {
  custom: {
    50: '#7bc98f',
    500: '#31b161',
    950: '#000000',
  },
}
SCSS
$custom: #31b161;
$custom-light: #7bc98f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b161",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 97
  },
  "hsl": {
    "h": 142.5,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67305,
    "c": 0.16026,
    "h": 151.4
  },
  "luminance": 0.3296
}

Semantic roles & 50–950 ramp

primary
#31B161
secondary
#C579A8
accent
#48A7E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B161

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

Preview Lab → · Contrast checker → · Palette generator →

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