#31B299#31B299

#31B299 is a light, moderate teal. Relative luminance 0.348; OKLCH L 68.9% C 0.115 H 176.6°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#31B299
RGBrgb(49, 178, 153)
HSLhsl(168, 57%, 45%)
HSVhsv(168, 72%, 70%)
CMYKcmyk(72.5%, 0%, 14%, 30.2%)
CIE-LABlab(65.59, -40.38, 2.83)
CIE-LCHlch(65.59, 40.48, 175.99°)
OKLaboklab(68.88% -0.1153 0.0069)
OKLCHoklch(68.88% 0.115 176.6)
XYZxyz(22.9339, 34.7910, 35.6375)
Luminance0.3479 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B299 #B2314A
analogous
#31B259 #31B299 #318BB2
triadic
#31B299 #9931B2 #B29931
tetradic
#31B299 #5931B2 #B2314A #8BB231
square
#31B299 #5931B2 #B2314A #8BB231
split-complementary
#31B299 #B2318B #B25931
monochromatic
#175247 #248270 #31B299 #51CFB7 #81DCCB

Accessibility & contrast

On white

2.64
#31B299 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#31B299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B299
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B299#FFFFFF#000000##000000
##31B2991.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA798
Deuteranopia (green-blind)
#9A9A9B
Tritanopia (blue-blind)
#00B4AB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b299;
/* rgb */ color: rgb(49, 178, 153);
/* oklch */ color: oklch(68.9% 0.115 176.6);
Tailwind
colors: {
  custom: {
    50: '#7ccab7',
    500: '#31b299',
    950: '#000000',
  },
}
SCSS
$custom: #31b299;
$custom-light: #7ccab7;
$custom-dark: #000000;
JSON
{
  "hex": "#31b299",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 153
  },
  "hsl": {
    "h": 168.372,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68879,
    "c": 0.11549,
    "h": 176.6
  },
  "luminance": 0.34794
}

Semantic roles & 50–950 ramp

primary
#31B299
secondary
#C57988
accent
#4865E0
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31B299

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

Preview Lab → · Contrast checker → · Palette generator →

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