#31B379#31B379

#31B379 is a light, vivid teal. Relative luminance 0.343; OKLCH L 68.3% C 0.141 H 159.1°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#31B379
RGBrgb(49, 179, 121)
HSLhsl(153, 57%, 45%)
HSVhsv(153, 73%, 70%)
CMYKcmyk(72.6%, 0%, 32.4%, 29.8%)
CIE-LABlab(65.18, -48.42, 19.82)
CIE-LCHlch(65.18, 52.32, 157.74°)
OKLaboklab(68.31% -0.1316 0.0501)
OKLCHoklch(68.31% 0.141 159.1)
XYZxyz(20.8358, 34.2712, 23.6024)
Luminance0.3427 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B379 #B3316B
analogous
#31B338 #31B379 #31ACB3
triadic
#31B379 #7931B3 #B37931
tetradic
#31B379 #3831B3 #B3316B #ACB331
square
#31B379 #3831B3 #B3316B #ACB331
split-complementary
#31B379 #B331AC #B33831
monochromatic
#175338 #248359 #31B379 #52D097 #82DDB4

Accessibility & contrast

On white

2.67
#31B379 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#31B379 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B379
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B379#FFFFFF#000000##000000
##31B3791.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A575
Deuteranopia (green-blind)
#A1997D
Tritanopia (blue-blind)
#00B2A4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b379;
/* rgb */ color: rgb(49, 179, 121);
/* oklch */ color: oklch(68.3% 0.141 159.1);
Tailwind
colors: {
  custom: {
    50: '#7bcba0',
    500: '#31b379',
    950: '#000000',
  },
}
SCSS
$custom: #31b379;
$custom-light: #7bcba0;
$custom-dark: #000000;
JSON
{
  "hex": "#31b379",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 121
  },
  "hsl": {
    "h": 153.231,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68306,
    "c": 0.14082,
    "h": 159.1
  },
  "luminance": 0.34274
}

Semantic roles & 50–950 ramp

primary
#31B379
secondary
#C67A9C
accent
#488CE0
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B379

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

Preview Lab → · Contrast checker → · Palette generator →

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