#31B796#31B796

#31B796 is a light, vivid teal. Relative luminance 0.367; OKLCH L 70.1% C 0.123 H 172.1°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#31B796
RGBrgb(49, 183, 150)
HSLhsl(165, 58%, 45%)
HSVhsv(165, 73%, 72%)
CMYKcmyk(73.2%, 0%, 18%, 28.2%)
CIE-LABlab(67.07, -43.32, 6.62)
CIE-LCHlch(67.07, 43.83, 171.31°)
OKLaboklab(70.07% -0.1218 0.0168)
OKLCHoklch(70.07% 0.123 172.1)
XYZxyz(23.7023, 36.7191, 34.6866)
Luminance0.3672 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B796 #B73152
analogous
#31B753 #31B796 #3195B7
triadic
#31B796 #9631B7 #B79631
tetradic
#31B796 #5331B7 #B73152 #95B731
square
#31B796 #5331B7 #B73152 #95B731
split-complementary
#31B796 #B73195 #B75331
monochromatic
#175647 #24876E #31B796 #54D1B2 #84DEC8

Accessibility & contrast

On white

2.52
#31B796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#31B796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B796
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B796#FFFFFF#000000##000000
##31B7961.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1AB94
Deuteranopia (green-blind)
#A09E98
Tritanopia (blue-blind)
#00B9AD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b796;
/* rgb */ color: rgb(49, 183, 150);
/* oklch */ color: oklch(70.1% 0.123 172.1);
Tailwind
colors: {
  custom: {
    50: '#7dcdb4',
    500: '#31b796',
    950: '#000000',
  },
}
SCSS
$custom: #31b796;
$custom-light: #7dcdb4;
$custom-dark: #000000;
JSON
{
  "hex": "#31b796",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 150
  },
  "hsl": {
    "h": 165.224,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70065,
    "c": 0.12293,
    "h": 172.1
  },
  "luminance": 0.36722
}

Semantic roles & 50–950 ramp

primary
#31B796
secondary
#C87C8F
accent
#476DE1
background
#F8FCFB
surface
#EFF9F6
border
#CAD2D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31B796

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

Preview Lab → · Contrast checker → · Palette generator →

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