#31B376#31B376

#31B376 is a light, vivid teal. Relative luminance 0.342; OKLCH L 68.2% C 0.143 H 158.0°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#31B376
RGBrgb(49, 179, 118)
HSLhsl(152, 57%, 45%)
HSVhsv(152, 73%, 70%)
CMYKcmyk(72.6%, 0%, 34.1%, 29.8%)
CIE-LABlab(65.12, -49.05, 21.36)
CIE-LCHlch(65.12, 53.50, 156.47°)
OKLaboklab(68.24% -0.133 0.0539)
OKLCHoklch(68.24% 0.144 158)
XYZxyz(20.6547, 34.1988, 22.6485)
Luminance0.3420 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B376 #B3316E
analogous
#31B335 #31B376 #31AFB3
triadic
#31B376 #7631B3 #B37631
tetradic
#31B376 #3531B3 #B3316E #AFB331
square
#31B376 #3531B3 #B3316E #AFB331
split-complementary
#31B376 #B331AF #B33531
monochromatic
#175337 #248356 #31B376 #52D094 #82DDB2

Accessibility & contrast

On white

2.68
#31B376 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#31B376 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B376
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B376#FFFFFF#000000##000000
##31B3761.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A572
Deuteranopia (green-blind)
#A1997A
Tritanopia (blue-blind)
#00B2A3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b376;
/* rgb */ color: rgb(49, 179, 118);
/* oklch */ color: oklch(68.2% 0.143 158.0);
Tailwind
colors: {
  custom: {
    50: '#7bcb9e',
    500: '#31b376',
    950: '#000000',
  },
}
SCSS
$custom: #31b376;
$custom-light: #7bcb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b376",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 118
  },
  "hsl": {
    "h": 151.846,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.6824,
    "c": 0.1435,
    "h": 158
  },
  "luminance": 0.34201
}

Semantic roles & 50–950 ramp

primary
#31B376
secondary
#C67A9E
accent
#488FE0
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B376

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

Preview Lab → · Contrast checker → · Palette generator →

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