#31B08C#31B08C

#31B08C is a light, vivid teal. Relative luminance 0.336; OKLCH L 68.0% C 0.121 H 169.5°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#31B08C
RGBrgb(49, 176, 140)
HSLhsl(163, 56%, 44%)
HSVhsv(163, 72%, 69%)
CMYKcmyk(72.2%, 0%, 20.5%, 31%)
CIE-LABlab(64.64, -42.82, 8.67)
CIE-LCHlch(64.64, 43.69, 168.56°)
OKLaboklab(68% -0.1194 0.0221)
OKLCHoklch(68% 0.121 169.5)
XYZxyz(21.5231, 33.5946, 30.1559)
Luminance0.3360 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B08C #B03155
analogous
#31B04D #31B08C #3195B0
triadic
#31B08C #8C31B0 #B08C31
tetradic
#31B08C #4D31B0 #B03155 #95B031
square
#31B08C #4D31B0 #B03155 #95B031
split-complementary
#31B08C #B03195 #B04D31
monochromatic
#165040 #248066 #31B08C #50CEAA #80DCC2

Accessibility & contrast

On white

2.72
#31B08C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#31B08C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B08C
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B08C#FFFFFF#000000##000000
##31B08C1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA48A
Deuteranopia (green-blind)
#9A988E
Tritanopia (blue-blind)
#00B1A6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b08c;
/* rgb */ color: rgb(49, 176, 140);
/* oklch */ color: oklch(68.0% 0.121 169.5);
Tailwind
colors: {
  custom: {
    50: '#7bc8ad',
    500: '#31b08c',
    950: '#000000',
  },
}
SCSS
$custom: #31b08c;
$custom-light: #7bc8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#31b08c",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 140
  },
  "hsl": {
    "h": 162.992,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67999,
    "c": 0.12146,
    "h": 169.5
  },
  "luminance": 0.33597
}

Semantic roles & 50–950 ramp

primary
#31B08C
secondary
#C5788E
accent
#4873E0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B08C

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

Preview Lab → · Contrast checker → · Palette generator →

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