#31B396#31B396

#31B396 is a light, moderate teal. Relative luminance 0.351; OKLCH L 69.0% C 0.118 H 174.1°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#31B396
RGBrgb(49, 179, 150)
HSLhsl(167, 57%, 45%)
HSVhsv(167, 73%, 70%)
CMYKcmyk(72.6%, 0%, 16.2%, 29.8%)
CIE-LABlab(65.82, -41.60, 4.83)
CIE-LCHlch(65.82, 41.88, 173.37°)
OKLaboklab(69.05% -0.1177 0.0122)
OKLCHoklch(69.05% 0.118 174.1)
XYZxyz(22.8889, 35.0925, 34.4155)
Luminance0.3509 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B396 #B3314E
analogous
#31B355 #31B396 #318FB3
triadic
#31B396 #9631B3 #B39631
tetradic
#31B396 #5531B3 #B3314E #8FB331
square
#31B396 #5531B3 #B3314E #8FB331
split-complementary
#31B396 #B3318F #B35531
monochromatic
#175345 #24836E #31B396 #52D0B3 #82DDC8

Accessibility & contrast

On white

2.62
#31B396 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#31B396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B396
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B396#FFFFFF#000000##000000
##31B3961.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA795
Deuteranopia (green-blind)
#9B9B98
Tritanopia (blue-blind)
#00B5AA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b396;
/* rgb */ color: rgb(49, 179, 150);
/* oklch */ color: oklch(69.0% 0.118 174.1);
Tailwind
colors: {
  custom: {
    50: '#7ccab4',
    500: '#31b396',
    950: '#000000',
  },
}
SCSS
$custom: #31b396;
$custom-light: #7ccab4;
$custom-dark: #000000;
JSON
{
  "hex": "#31b396",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 150
  },
  "hsl": {
    "h": 166.615,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69046,
    "c": 0.11835,
    "h": 174.1
  },
  "luminance": 0.35095
}

Semantic roles & 50–950 ramp

primary
#31B396
secondary
#C67A8B
accent
#486AE0
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31B396

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

Preview Lab → · Contrast checker → · Palette generator →

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