#31B162#31B162

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

Color values

HEX#31B162
RGBrgb(49, 177, 98)
HSLhsl(143, 57%, 44%)
HSVhsv(143, 72%, 69%)
CMYKcmyk(72.3%, 0%, 44.6%, 30.6%)
CIE-LABlab(64.14, -52.11, 30.68)
CIE-LCHlch(64.14, 60.47, 149.51°)
OKLaboklab(67.32% -0.1403 0.0755)
OKLCHoklch(67.32% 0.159 151.7)
XYZxyz(19.1917, 32.9769, 16.9066)
Luminance0.3298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B162 #B13180
analogous
#40B131 #31B162 #31B1A2
triadic
#31B162 #6231B1 #B16231
tetradic
#31B162 #3140B1 #B13180 #B1A231
square
#31B162 #3140B1 #B13180 #B1A231
split-complementary
#31B162 #A231B1 #B13140
monochromatic
#16512D #248147 #31B162 #51CF81 #80DCA3

Accessibility & contrast

On white

2.76
#31B162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#31B162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B162
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B162#FFFFFF#000000##000000
##31B1621.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b162;
/* rgb */ color: rgb(49, 177, 98);
/* oklch */ color: oklch(67.3% 0.159 151.7);
Tailwind
colors: {
  custom: {
    50: '#7bc990',
    500: '#31b162',
    950: '#000000',
  },
}
SCSS
$custom: #31b162;
$custom-light: #7bc990;
$custom-dark: #000000;
JSON
{
  "hex": "#31b162",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 142.969,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67322,
    "c": 0.15933,
    "h": 151.7
  },
  "luminance": 0.32979
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B162

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

Preview Lab → · Contrast checker → · Palette generator →

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