#31B387#31B387

#31B387 is a light, vivid teal. Relative luminance 0.346; OKLCH L 68.6% C 0.129 H 165.6°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#31B387
RGBrgb(49, 179, 135)
HSLhsl(160, 57%, 45%)
HSVhsv(160, 73%, 70%)
CMYKcmyk(72.6%, 0%, 24.6%, 29.8%)
CIE-LABlab(65.47, -45.29, 12.59)
CIE-LCHlch(65.47, 47.01, 164.46°)
OKLaboklab(68.64% -0.1249 0.0322)
OKLCHoklch(68.64% 0.129 165.6)
XYZxyz(21.7575, 34.6399, 28.4565)
Luminance0.3464 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B387 #B3315D
analogous
#31B346 #31B387 #319EB3
triadic
#31B387 #8731B3 #B38731
tetradic
#31B387 #4631B3 #B3315D #9EB331
square
#31B387 #4631B3 #B3315D #9EB331
split-complementary
#31B387 #B3319E #B34631
monochromatic
#17533F #248363 #31B387 #52D0A5 #82DDBE

Accessibility & contrast

On white

2.65
#31B387 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#31B387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B387
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B387#FFFFFF#000000##000000
##31B3871.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA685
Deuteranopia (green-blind)
#9E9A8A
Tritanopia (blue-blind)
#00B3A7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b387;
/* rgb */ color: rgb(49, 179, 135);
/* oklch */ color: oklch(68.6% 0.129 165.6);
Tailwind
colors: {
  custom: {
    50: '#7ccaaa',
    500: '#31b387',
    950: '#000000',
  },
}
SCSS
$custom: #31b387;
$custom-light: #7ccaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#31b387",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 135
  },
  "hsl": {
    "h": 159.692,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.6864,
    "c": 0.12896,
    "h": 165.6
  },
  "luminance": 0.34642
}

Semantic roles & 50–950 ramp

primary
#31B387
secondary
#C67A94
accent
#487BE0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B387

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

Preview Lab → · Contrast checker → · Palette generator →

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