#31B38F#31B38F

#31B38F is a light, vivid teal. Relative luminance 0.349; OKLCH L 68.8% C 0.123 H 169.9°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#31B38F
RGBrgb(49, 179, 143)
HSLhsl(163, 57%, 45%)
HSVhsv(163, 73%, 70%)
CMYKcmyk(72.6%, 0%, 20.1%, 29.8%)
CIE-LABlab(65.65, -43.36, 8.45)
CIE-LCHlch(65.65, 44.18, 168.97°)
OKLaboklab(68.85% -0.121 0.0216)
OKLCHoklch(68.85% 0.123 169.9)
XYZxyz(22.3420, 34.8737, 31.5351)
Luminance0.3488 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B38F #B33155
analogous
#31B34E #31B38F #3196B3
triadic
#31B38F #8F31B3 #B38F31
tetradic
#31B38F #4E31B3 #B33155 #96B331
square
#31B38F #4E31B3 #B33155 #96B331
split-complementary
#31B38F #B33196 #B34E31
monochromatic
#175342 #248369 #31B38F #52D0AD #82DDC4

Accessibility & contrast

On white

2.63
#31B38F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#31B38F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B38F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B38F#FFFFFF#000000##000000
##31B38F1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA78D
Deuteranopia (green-blind)
#9D9A91
Tritanopia (blue-blind)
#00B4A9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b38f;
/* rgb */ color: rgb(49, 179, 143);
/* oklch */ color: oklch(68.8% 0.123 169.9);
Tailwind
colors: {
  custom: {
    50: '#7ccaaf',
    500: '#31b38f',
    950: '#000000',
  },
}
SCSS
$custom: #31b38f;
$custom-light: #7ccaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#31b38f",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 143
  },
  "hsl": {
    "h": 163.385,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.6885,
    "c": 0.12296,
    "h": 169.9
  },
  "luminance": 0.34876
}

Semantic roles & 50–950 ramp

primary
#31B38F
secondary
#C67A8F
accent
#4872E0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B38F

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

Preview Lab → · Contrast checker → · Palette generator →

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