#31B168#31B168

#31B168 is a light, vivid green. Relative luminance 0.331; OKLCH L 67.4% C 0.154 H 153.5°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#31B168
RGBrgb(49, 177, 104)
HSLhsl(146, 57%, 44%)
HSVhsv(146, 72%, 69%)
CMYKcmyk(72.3%, 0%, 41.2%, 30.6%)
CIE-LABlab(64.24, -51.03, 27.66)
CIE-LCHlch(64.24, 58.04, 151.54°)
OKLaboklab(67.43% -0.1376 0.0687)
OKLCHoklch(67.43% 0.154 153.5)
XYZxyz(19.4857, 33.0945, 18.4550)
Luminance0.3310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B168 #B1317A
analogous
#3AB131 #31B168 #31B1A8
triadic
#31B168 #6831B1 #B16831
tetradic
#31B168 #313AB1 #B1317A #B1A831
square
#31B168 #313AB1 #B1317A #B1A831
split-complementary
#31B168 #A831B1 #B1313A
monochromatic
#165130 #24814C #31B168 #51CF87 #80DCA8

Accessibility & contrast

On white

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

On black

7.62
#31B168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B168
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B168#FFFFFF#000000##000000
##31B1681.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A263
Deuteranopia (green-blind)
#A1976D
Tritanopia (blue-blind)
#00AF9F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b168;
/* rgb */ color: rgb(49, 177, 104);
/* oklch */ color: oklch(67.4% 0.154 153.5);
Tailwind
colors: {
  custom: {
    50: '#7bc994',
    500: '#31b168',
    950: '#000000',
  },
}
SCSS
$custom: #31b168;
$custom-light: #7bc994;
$custom-dark: #000000;
JSON
{
  "hex": "#31b168",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 104
  },
  "hsl": {
    "h": 145.781,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67432,
    "c": 0.15375,
    "h": 153.5
  },
  "luminance": 0.33097
}

Semantic roles & 50–950 ramp

primary
#31B168
secondary
#C579A4
accent
#489FE0
background
#F8FCF9
surface
#EFF8F1
border
#CAD1CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31B168

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

Preview Lab → · Contrast checker → · Palette generator →

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