#31B298#31B298

#31B298 is a light, moderate teal. Relative luminance 0.348; OKLCH L 68.8% C 0.116 H 175.9°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#31B298
RGBrgb(49, 178, 152)
HSLhsl(168, 57%, 45%)
HSVhsv(168, 72%, 70%)
CMYKcmyk(72.5%, 0%, 14.6%, 30.2%)
CIE-LABlab(65.56, -40.64, 3.35)
CIE-LCHlch(65.56, 40.78, 175.29°)
OKLaboklab(68.85% -0.1157 0.0083)
OKLCHoklch(68.85% 0.116 175.9)
XYZxyz(22.8517, 34.7581, 35.2043)
Luminance0.3476 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B298 #B2314B
analogous
#31B258 #31B298 #318CB2
triadic
#31B298 #9831B2 #B29831
tetradic
#31B298 #5831B2 #B2314B #8CB231
square
#31B298 #5831B2 #B2314B #8CB231
split-complementary
#31B298 #B2318C #B25831
monochromatic
#175246 #24826F #31B298 #51CFB6 #81DCCA

Accessibility & contrast

On white

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

On black

7.95
#31B298 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B298
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B298#FFFFFF#000000##000000
##31B2981.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b298;
/* rgb */ color: rgb(49, 178, 152);
/* oklch */ color: oklch(68.8% 0.116 175.9);
Tailwind
colors: {
  custom: {
    50: '#7ccab6',
    500: '#31b298',
    950: '#000000',
  },
}
SCSS
$custom: #31b298;
$custom-light: #7ccab6;
$custom-dark: #000000;
JSON
{
  "hex": "#31b298",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 152
  },
  "hsl": {
    "h": 167.907,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.6885,
    "c": 0.11604,
    "h": 175.9
  },
  "luminance": 0.34761
}

Semantic roles & 50–950 ramp

primary
#31B298
secondary
#C57989
accent
#4866E0
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31B298

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

Preview Lab → · Contrast checker → · Palette generator →

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