#31B388#31B388

#31B388 is a light, vivid teal. Relative luminance 0.347; OKLCH L 68.7% C 0.128 H 166.1°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#31B388
RGBrgb(49, 179, 136)
HSLhsl(160, 57%, 45%)
HSVhsv(160, 73%, 70%)
CMYKcmyk(72.6%, 0%, 24%, 29.8%)
CIE-LABlab(65.49, -45.05, 12.07)
CIE-LCHlch(65.49, 46.64, 165.00°)
OKLaboklab(68.66% -0.1244 0.0309)
OKLCHoklch(68.66% 0.128 166.1)
XYZxyz(21.8282, 34.6682, 28.8290)
Luminance0.3467 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B388 #B3315C
analogous
#31B347 #31B388 #319DB3
triadic
#31B388 #8831B3 #B38831
tetradic
#31B388 #4731B3 #B3315C #9DB331
square
#31B388 #4731B3 #B3315C #9DB331
split-complementary
#31B388 #B3319D #B34731
monochromatic
#17533F #248363 #31B388 #52D0A6 #82DDBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B388#FFFFFF#000000##000000
##31B3881.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)
#AFA686
Deuteranopia (green-blind)
#9E9A8B
Tritanopia (blue-blind)
#00B3A7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b388;
/* rgb */ color: rgb(49, 179, 136);
/* oklch */ color: oklch(68.7% 0.128 166.1);
Tailwind
colors: {
  custom: {
    50: '#7ccaaa',
    500: '#31b388',
    950: '#000000',
  },
}
SCSS
$custom: #31b388;
$custom-light: #7ccaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#31b388",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 136
  },
  "hsl": {
    "h": 160.154,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68665,
    "c": 0.12817,
    "h": 166.1
  },
  "luminance": 0.34671
}

Semantic roles & 50–950 ramp

primary
#31B388
secondary
#C67A93
accent
#487AE0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B388

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

Preview Lab → · Contrast checker → · Palette generator →

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