#31B167#31B167

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

Color values

HEX#31B167
RGBrgb(49, 177, 103)
HSLhsl(145, 57%, 44%)
HSVhsv(145, 72%, 69%)
CMYKcmyk(72.3%, 0%, 41.8%, 30.6%)
CIE-LABlab(64.22, -51.21, 28.16)
CIE-LCHlch(64.22, 58.44, 151.19°)
OKLaboklab(67.41% -0.138 0.0698)
OKLCHoklch(67.41% 0.155 153.2)
XYZxyz(19.4352, 33.0743, 18.1890)
Luminance0.3308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B167 #B1317B
analogous
#3BB131 #31B167 #31B1A7
triadic
#31B167 #6731B1 #B16731
tetradic
#31B167 #313BB1 #B1317B #B1A731
square
#31B167 #313BB1 #B1317B #B1A731
split-complementary
#31B167 #A731B1 #B1313B
monochromatic
#16512F #24814B #31B167 #51CF86 #80DCA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B167#FFFFFF#000000##000000
##31B1671.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)
#B1A262
Deuteranopia (green-blind)
#A1976C
Tritanopia (blue-blind)
#00AF9F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b167;
/* rgb */ color: rgb(49, 177, 103);
/* oklch */ color: oklch(67.4% 0.155 153.2);
Tailwind
colors: {
  custom: {
    50: '#7bc993',
    500: '#31b167',
    950: '#000000',
  },
}
SCSS
$custom: #31b167;
$custom-light: #7bc993;
$custom-dark: #000000;
JSON
{
  "hex": "#31b167",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 103
  },
  "hsl": {
    "h": 145.313,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67413,
    "c": 0.15468,
    "h": 153.2
  },
  "luminance": 0.33077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B167

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

Preview Lab → · Contrast checker → · Palette generator →

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