#31B382#31B382

#31B382 is a light, vivid teal. Relative luminance 0.345; OKLCH L 68.5% C 0.133 H 163.1°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#31B382
RGBrgb(49, 179, 130)
HSLhsl(157, 57%, 45%)
HSVhsv(157, 73%, 70%)
CMYKcmyk(72.6%, 0%, 27.4%, 29.8%)
CIE-LABlab(65.36, -46.44, 15.18)
CIE-LCHlch(65.36, 48.86, 161.90°)
OKLaboklab(68.52% -0.1273 0.0387)
OKLCHoklch(68.52% 0.133 163.1)
XYZxyz(21.4137, 34.5024, 26.6458)
Luminance0.3451 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B382 #B33162
analogous
#31B341 #31B382 #31A3B3
triadic
#31B382 #8231B3 #B38231
tetradic
#31B382 #4131B3 #B33162 #A3B331
square
#31B382 #4131B3 #B33162 #A3B331
split-complementary
#31B382 #B331A3 #B34131
monochromatic
#17533C #24835F #31B382 #52D0A0 #82DDBA

Accessibility & contrast

On white

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

On black

7.90
#31B382 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B382
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B382#FFFFFF#000000##000000
##31B3821.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A67F
Deuteranopia (green-blind)
#9F9A85
Tritanopia (blue-blind)
#00B3A6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b382;
/* rgb */ color: rgb(49, 179, 130);
/* oklch */ color: oklch(68.5% 0.133 163.1);
Tailwind
colors: {
  custom: {
    50: '#7bcba6',
    500: '#31b382',
    950: '#000000',
  },
}
SCSS
$custom: #31b382;
$custom-light: #7bcba6;
$custom-dark: #000000;
JSON
{
  "hex": "#31b382",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 130
  },
  "hsl": {
    "h": 157.385,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68516,
    "c": 0.13302,
    "h": 163.1
  },
  "luminance": 0.34505
}

Semantic roles & 50–950 ramp

primary
#31B382
secondary
#C67A97
accent
#4881E0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31B382

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

Preview Lab → · Contrast checker → · Palette generator →

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