#31B166#31B166

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

Color values

HEX#31B166
RGBrgb(49, 177, 102)
HSLhsl(145, 57%, 44%)
HSVhsv(145, 72%, 69%)
CMYKcmyk(72.3%, 0%, 42.4%, 30.6%)
CIE-LABlab(64.20, -51.39, 28.67)
CIE-LCHlch(64.20, 58.85, 150.85°)
OKLaboklab(67.39% -0.1385 0.071)
OKLCHoklch(67.39% 0.156 152.9)
XYZxyz(19.3853, 33.0543, 17.9263)
Luminance0.3306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B166 #B1317C
analogous
#3CB131 #31B166 #31B1A6
triadic
#31B166 #6631B1 #B16631
tetradic
#31B166 #313CB1 #B1317C #B1A631
square
#31B166 #313CB1 #B1317C #B1A631
split-complementary
#31B166 #A631B1 #B1313C
monochromatic
#16512F #24814A #31B166 #51CF85 #80DCA6

Accessibility & contrast

On white

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

On black

7.61
#31B166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B166
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B166#FFFFFF#000000##000000
##31B1661.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b166;
/* rgb */ color: rgb(49, 177, 102);
/* oklch */ color: oklch(67.4% 0.156 152.9);
Tailwind
colors: {
  custom: {
    50: '#7bc992',
    500: '#31b166',
    950: '#000000',
  },
}
SCSS
$custom: #31b166;
$custom-light: #7bc992;
$custom-dark: #000000;
JSON
{
  "hex": "#31b166",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 102
  },
  "hsl": {
    "h": 144.844,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67394,
    "c": 0.15561,
    "h": 152.9
  },
  "luminance": 0.33057
}

Semantic roles & 50–950 ramp

primary
#31B166
secondary
#C579A5
accent
#48A1E0
background
#F8FCF9
surface
#EFF8F1
border
#CAD1CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31B166

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

Preview Lab → · Contrast checker → · Palette generator →

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