#31B799#31B799

#31B799 is a light, vivid teal. Relative luminance 0.368; OKLCH L 70.2% C 0.121 H 173.9°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#31B799
RGBrgb(49, 183, 153)
HSLhsl(167, 58%, 45%)
HSVhsv(167, 73%, 72%)
CMYKcmyk(73.2%, 0%, 16.4%, 28.2%)
CIE-LABlab(67.14, -42.56, 5.08)
CIE-LCHlch(67.14, 42.87, 173.19°)
OKLaboklab(70.15% -0.1203 0.0128)
OKLCHoklch(70.15% 0.121 173.9)
XYZxyz(23.9469, 36.8170, 35.9751)
Luminance0.3682 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B799 #B7314F
analogous
#31B756 #31B799 #3192B7
triadic
#31B799 #9931B7 #B79931
tetradic
#31B799 #5631B7 #B7314F #92B731
square
#31B799 #5631B7 #B7314F #92B731
split-complementary
#31B799 #B73192 #B75631
monochromatic
#175648 #248771 #31B799 #54D1B5 #84DECA

Accessibility & contrast

On white

2.51
#31B799 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#31B799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B799
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B799#FFFFFF#000000##000000
##31B7991.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1AB98
Deuteranopia (green-blind)
#9F9E9B
Tritanopia (blue-blind)
#00B9AE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b799;
/* rgb */ color: rgb(49, 183, 153);
/* oklch */ color: oklch(70.2% 0.121 173.9);
Tailwind
colors: {
  custom: {
    50: '#7dcdb7',
    500: '#31b799',
    950: '#000000',
  },
}
SCSS
$custom: #31b799;
$custom-light: #7dcdb7;
$custom-dark: #000000;
JSON
{
  "hex": "#31b799",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 153
  },
  "hsl": {
    "h": 166.567,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.7015,
    "c": 0.12103,
    "h": 173.9
  },
  "luminance": 0.3682
}

Semantic roles & 50–950 ramp

primary
#31B799
secondary
#C87C8D
accent
#4769E1
background
#F8FCFB
surface
#EFF9F6
border
#CAD2D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31B799

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

Preview Lab → · Contrast checker → · Palette generator →

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