#31C38B#31C38B

#31C38B is a light, vivid teal. Relative luminance 0.415; OKLCH L 72.8% C 0.146 H 162.2°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#31C38B
RGBrgb(49, 195, 139)
HSLhsl(157, 60%, 48%)
HSVhsv(157, 75%, 76%)
CMYKcmyk(74.9%, 0%, 28.7%, 23.5%)
CIE-LABlab(70.56, -50.86, 17.52)
CIE-LCHlch(70.56, 53.79, 160.99°)
OKLaboklab(72.85% -0.139 0.0446)
OKLCHoklch(72.85% 0.146 162.2)
XYZxyz(25.4392, 41.5442, 31.0992)
Luminance0.4155 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C38B #C33169
analogous
#31C342 #31C38B #31B2C3
triadic
#31C38B #8B31C3 #C38B31
tetradic
#31C38B #4231C3 #C33169 #B2C331
square
#31C38B #4231C3 #C33169 #B2C331
split-complementary
#31C38B #C331B2 #C34231
monochromatic
#186145 #259268 #31C38B #5BD6A7 #8CE2C1

Accessibility & contrast

On white

2.26
#31C38B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#31C38B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C38B
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C38B#FFFFFF#000000##000000
##31C38B1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B488
Deuteranopia (green-blind)
#AEA78F
Tritanopia (blue-blind)
#00C3B4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #31c38b;
/* rgb */ color: rgb(49, 195, 139);
/* oklch */ color: oklch(72.8% 0.146 162.2);
Tailwind
colors: {
  custom: {
    50: '#7fd6ad',
    500: '#31c38b',
    950: '#000000',
  },
}
SCSS
$custom: #31c38b;
$custom-light: #7fd6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#31c38b",
  "rgb": {
    "r": 49,
    "g": 195,
    "b": 139
  },
  "hsl": {
    "h": 156.986,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72847,
    "c": 0.14593,
    "h": 162.2
  },
  "luminance": 0.41547
}

Semantic roles & 50–950 ramp

primary
#31C38B
secondary
#CC839F
accent
#4581E3
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C1410
muted
#7D837F

Preview Lab

Preview with #31C38B

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

Preview Lab → · Contrast checker → · Palette generator →

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