#31B381#31B381

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

Color values

HEX#31B381
RGBrgb(49, 179, 129)
HSLhsl(157, 57%, 45%)
HSVhsv(157, 73%, 70%)
CMYKcmyk(72.6%, 0%, 27.9%, 29.8%)
CIE-LABlab(65.34, -46.67, 15.69)
CIE-LCHlch(65.34, 49.24, 161.41°)
OKLaboklab(68.49% -0.1278 0.04)
OKLCHoklch(68.49% 0.134 162.6)
XYZxyz(21.3469, 34.4757, 26.2941)
Luminance0.3448 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B381 #B33163
analogous
#31B340 #31B381 #31A4B3
triadic
#31B381 #8131B3 #B38131
tetradic
#31B381 #4031B3 #B33163 #A4B331
square
#31B381 #4031B3 #B33163 #A4B331
split-complementary
#31B381 #B331A4 #B34031
monochromatic
#17533C #24835E #31B381 #52D09F #82DDBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B381#FFFFFF#000000##000000
##31B3811.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)
#B0A67E
Deuteranopia (green-blind)
#A09A84
Tritanopia (blue-blind)
#00B3A5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b381;
/* rgb */ color: rgb(49, 179, 129);
/* oklch */ color: oklch(68.5% 0.134 162.6);
Tailwind
colors: {
  custom: {
    50: '#7bcba5',
    500: '#31b381',
    950: '#000000',
  },
}
SCSS
$custom: #31b381;
$custom-light: #7bcba5;
$custom-dark: #000000;
JSON
{
  "hex": "#31b381",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 129
  },
  "hsl": {
    "h": 156.923,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68491,
    "c": 0.13386,
    "h": 162.6
  },
  "luminance": 0.34478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B381

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

Preview Lab → · Contrast checker → · Palette generator →

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