#31C998#31C998

#31C998 is a light, vivid teal. Relative luminance 0.447; OKLCH L 74.7% C 0.143 H 166.0°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#31C998
RGBrgb(49, 201, 152)
HSLhsl(161, 61%, 49%)
HSVhsv(161, 76%, 79%)
CMYKcmyk(75.6%, 0%, 24.4%, 21.2%)
CIE-LABlab(72.69, -50.30, 13.52)
CIE-LCHlch(72.69, 52.09, 164.96°)
OKLaboklab(74.69% -0.1387 0.0345)
OKLCHoklch(74.69% 0.143 166)
XYZxyz(27.8176, 44.6899, 36.8596)
Luminance0.4469 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C998 #C93162
analogous
#31C94C #31C998 #31AEC9
triadic
#31C998 #9831C9 #C99831
tetradic
#31C998 #4C31C9 #C93162 #AEC931
square
#31C998 #4C31C9 #C93162 #AEC931
split-complementary
#31C998 #C931AE #C94C31
monochromatic
#19674E #259873 #31C998 #5FD8B1 #90E4C9

Accessibility & contrast

On white

2.11
#31C998 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#31C998 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C998
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C998#FFFFFF#000000##000000
##31C9981.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4BA95
Deuteranopia (green-blind)
#B1AD9B
Tritanopia (blue-blind)
#00CABB
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #31c998;
/* rgb */ color: rgb(49, 201, 152);
/* oklch */ color: oklch(74.7% 0.143 166.0);
Tailwind
colors: {
  custom: {
    50: '#80dab6',
    500: '#31c998',
    950: '#000000',
  },
}
SCSS
$custom: #31c998;
$custom-light: #80dab6;
$custom-dark: #000000;
JSON
{
  "hex": "#31c998",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 152
  },
  "hsl": {
    "h": 160.658,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74689,
    "c": 0.14295,
    "h": 166
  },
  "luminance": 0.44693
}

Semantic roles & 50–950 ramp

primary
#31C998
secondary
#CF879E
accent
#4477E4
background
#F8FDFB
surface
#F0FBF6
border
#CBD4D0
text
#0C1511
muted
#7D8380

Preview Lab

Preview with #31C998

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

Preview Lab → · Contrast checker → · Palette generator →

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