#31B28D#31B28D

#31B28D is a light, vivid teal. Relative luminance 0.344; OKLCH L 68.5% C 0.123 H 169.2°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#31B28D
RGBrgb(49, 178, 141)
HSLhsl(163, 57%, 45%)
HSVhsv(163, 72%, 70%)
CMYKcmyk(72.5%, 0%, 20.8%, 30.2%)
CIE-LABlab(65.29, -43.43, 9.04)
CIE-LCHlch(65.29, 44.36, 168.24°)
OKLaboklab(68.54% -0.121 0.0231)
OKLCHoklch(68.54% 0.123 169.2)
XYZxyz(21.9922, 34.4143, 30.6777)
Luminance0.3442 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B28D #B23156
analogous
#31B24D #31B28D #3196B2
triadic
#31B28D #8D31B2 #B28D31
tetradic
#31B28D #4D31B2 #B23156 #96B231
square
#31B28D #4D31B2 #B23156 #96B231
split-complementary
#31B28D #B23196 #B24D31
monochromatic
#175241 #248267 #31B28D #51CFAB #81DCC2

Accessibility & contrast

On white

2.66
#31B28D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#31B28D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B28D
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B28D#FFFFFF#000000##000000
##31B28D1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA68B
Deuteranopia (green-blind)
#9C9990
Tritanopia (blue-blind)
#00B3A7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b28d;
/* rgb */ color: rgb(49, 178, 141);
/* oklch */ color: oklch(68.5% 0.123 169.2);
Tailwind
colors: {
  custom: {
    50: '#7ccaae',
    500: '#31b28d',
    950: '#000000',
  },
}
SCSS
$custom: #31b28d;
$custom-light: #7ccaae;
$custom-dark: #000000;
JSON
{
  "hex": "#31b28d",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 141
  },
  "hsl": {
    "h": 162.791,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.6854,
    "c": 0.12318,
    "h": 169.2
  },
  "luminance": 0.34417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B28D

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

Preview Lab → · Contrast checker → · Palette generator →

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