#31B296#31B296

#31B296 is a light, moderate teal. Relative luminance 0.347; OKLCH L 68.8% C 0.117 H 174.6°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#31B296
RGBrgb(49, 178, 150)
HSLhsl(167, 57%, 45%)
HSVhsv(167, 72%, 70%)
CMYKcmyk(72.5%, 0%, 15.7%, 30.2%)
CIE-LABlab(65.51, -41.16, 4.38)
CIE-LCHlch(65.51, 41.40, 173.92°)
OKLaboklab(68.79% -0.1167 0.011)
OKLCHoklch(68.79% 0.117 174.6)
XYZxyz(22.6892, 34.6931, 34.3489)
Luminance0.3470 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B296 #B2314D
analogous
#31B256 #31B296 #318DB2
triadic
#31B296 #9631B2 #B29631
tetradic
#31B296 #5631B2 #B2314D #8DB231
square
#31B296 #5631B2 #B2314D #8DB231
split-complementary
#31B296 #B2318D #B25631
monochromatic
#175245 #24826E #31B296 #51CFB4 #81DCC9

Accessibility & contrast

On white

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

On black

7.94
#31B296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B296
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B296#FFFFFF#000000##000000
##31B2961.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA695
Deuteranopia (green-blind)
#9A9A98
Tritanopia (blue-blind)
#00B4AA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b296;
/* rgb */ color: rgb(49, 178, 150);
/* oklch */ color: oklch(68.8% 0.117 174.6);
Tailwind
colors: {
  custom: {
    50: '#7ccab4',
    500: '#31b296',
    950: '#000000',
  },
}
SCSS
$custom: #31b296;
$custom-light: #7ccab4;
$custom-dark: #000000;
JSON
{
  "hex": "#31b296",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 150
  },
  "hsl": {
    "h": 166.977,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68791,
    "c": 0.11721,
    "h": 174.6
  },
  "luminance": 0.34696
}

Semantic roles & 50–950 ramp

primary
#31B296
secondary
#C5798A
accent
#4869E0
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31B296

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

Preview Lab → · Contrast checker → · Palette generator →

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