#31B38B#31B38B

#31B38B is a light, vivid teal. Relative luminance 0.348; OKLCH L 68.7% C 0.126 H 167.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#31B38B
RGBrgb(49, 179, 139)
HSLhsl(162, 57%, 45%)
HSVhsv(162, 73%, 70%)
CMYKcmyk(72.6%, 0%, 22.3%, 29.8%)
CIE-LABlab(65.56, -44.34, 10.52)
CIE-LCHlch(65.56, 45.57, 166.65°)
OKLaboklab(68.74% -0.123 0.0269)
OKLCHoklch(68.74% 0.126 167.7)
XYZxyz(22.0444, 34.7547, 29.9676)
Luminance0.3476 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B38B #B33159
analogous
#31B34A #31B38B #319AB3
triadic
#31B38B #8B31B3 #B38B31
tetradic
#31B38B #4A31B3 #B33159 #9AB331
square
#31B38B #4A31B3 #B33159 #9AB331
split-complementary
#31B38B #B3319A #B34A31
monochromatic
#175340 #248366 #31B38B #52D0A9 #82DDC1

Accessibility & contrast

On white

2.64
#31B38B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#31B38B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B38B
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B38B#FFFFFF#000000##000000
##31B38B1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA689
Deuteranopia (green-blind)
#9E9A8E
Tritanopia (blue-blind)
#00B4A8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b38b;
/* rgb */ color: rgb(49, 179, 139);
/* oklch */ color: oklch(68.7% 0.126 167.7);
Tailwind
colors: {
  custom: {
    50: '#7ccaad',
    500: '#31b38b',
    950: '#000000',
  },
}
SCSS
$custom: #31b38b;
$custom-light: #7ccaad;
$custom-dark: #000000;
JSON
{
  "hex": "#31b38b",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 139
  },
  "hsl": {
    "h": 161.538,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68743,
    "c": 0.12588,
    "h": 167.7
  },
  "luminance": 0.34757
}

Semantic roles & 50–950 ramp

primary
#31B38B
secondary
#C67A91
accent
#4877E0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B38B

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

Preview Lab → · Contrast checker → · Palette generator →

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