#31C396#31C396

#31C396 is a light, vivid teal. Relative luminance 0.419; OKLCH L 73.1% C 0.137 H 167.2°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#31C396
RGBrgb(49, 195, 150)
HSLhsl(162, 60%, 48%)
HSVhsv(162, 75%, 76%)
CMYKcmyk(74.9%, 0%, 23.1%, 23.5%)
CIE-LABlab(70.79, -48.34, 11.92)
CIE-LCHlch(70.79, 49.79, 166.14°)
OKLaboklab(73.12% -0.1338 0.0305)
OKLCHoklch(73.12% 0.137 167.2)
XYZxyz(26.2837, 41.8820, 35.5470)
Luminance0.4189 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C396 #C3315E
analogous
#31C34D #31C396 #31A7C3
triadic
#31C396 #9631C3 #C39631
tetradic
#31C396 #4D31C3 #C3315E #A7C331
square
#31C396 #4D31C3 #C3315E #A7C331
split-complementary
#31C396 #C331A7 #C34D31
monochromatic
#18614B #259270 #31C396 #5BD6B0 #8CE2C8

Accessibility & contrast

On white

2.24
#31C396 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#31C396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C396
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C396#FFFFFF#000000##000000
##31C3961.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEB594
Deuteranopia (green-blind)
#ACA899
Tritanopia (blue-blind)
#00C4B6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #31c396;
/* rgb */ color: rgb(49, 195, 150);
/* oklch */ color: oklch(73.1% 0.137 167.2);
Tailwind
colors: {
  custom: {
    50: '#7fd6b5',
    500: '#31c396',
    950: '#000000',
  },
}
SCSS
$custom: #31c396;
$custom-light: #7fd6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#31c396",
  "rgb": {
    "r": 49,
    "g": 195,
    "b": 150
  },
  "hsl": {
    "h": 161.507,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73117,
    "c": 0.13719,
    "h": 167.2
  },
  "luminance": 0.41885
}

Semantic roles & 50–950 ramp

primary
#31C396
secondary
#CC839A
accent
#4576E3
background
#F8FDFB
surface
#F0FAF6
border
#CBD3D0
text
#0C1411
muted
#7D8380

Preview Lab

Preview with #31C396

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

Preview Lab → · Contrast checker → · Palette generator →

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