#31BAB2#31BAB2

#31BAB2 is a light, moderate teal. Relative luminance 0.390; OKLCH L 71.7% C 0.113 H 189.1°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#31BAB2
RGBrgb(49, 186, 178)
HSLhsl(176, 58%, 46%)
HSVhsv(176, 74%, 73%)
CMYKcmyk(73.7%, 0%, 4.3%, 27.1%)
CIE-LABlab(68.74, -37.15, -6.35)
CIE-LCHlch(68.74, 37.68, 189.70°)
OKLaboklab(71.68% -0.1118 -0.0178)
OKLCHoklch(71.68% 0.113 189.1)
XYZxyz(26.8576, 38.9819, 48.2196)
Luminance0.3898 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BAB2 #BA3139
analogous
#31BA6D #31BAB2 #317DBA
triadic
#31BAB2 #B231BA #BAB231
tetradic
#31BAB2 #6D31BA #BA3139 #7DBA31
square
#31BAB2 #6D31BA #BA3139 #7DBA31
split-complementary
#31BAB2 #BA317D #BA6D31
monochromatic
#175955 #248A84 #31BAB2 #56D2CB #86DFDA

Accessibility & contrast

On white

2.39
#31BAB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#31BAB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BAB2
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BAB2#FFFFFF#000000##000000
##31BAB21.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFB0B2
Deuteranopia (green-blind)
#9CA2B3
Tritanopia (blue-blind)
#00BFB7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #31bab2;
/* rgb */ color: rgb(49, 186, 178);
/* oklch */ color: oklch(71.7% 0.113 189.1);
Tailwind
colors: {
  custom: {
    50: '#7fcfc9',
    500: '#31bab2',
    950: '#000000',
  },
}
SCSS
$custom: #31bab2;
$custom-light: #7fcfc9;
$custom-dark: #000000;
JSON
{
  "hex": "#31bab2",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 178
  },
  "hsl": {
    "h": 176.496,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71678,
    "c": 0.1132,
    "h": 189.1
  },
  "luminance": 0.38985
}

Semantic roles & 50–950 ramp

primary
#31BAB2
secondary
#C97E82
accent
#464FE2
background
#F8FCFC
surface
#F0F9F8
border
#CBD2D1
text
#0C1413
muted
#7D8282

Preview Lab

Preview with #31BAB2

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

Preview Lab → · Contrast checker → · Palette generator →

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