#31B59B#31B59B

#31B59B is a light, moderate teal. Relative luminance 0.361; OKLCH L 69.7% C 0.118 H 176.2°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#31B59B
RGBrgb(49, 181, 155)
HSLhsl(168, 57%, 45%)
HSVhsv(168, 73%, 71%)
CMYKcmyk(72.9%, 0%, 14.4%, 29%)
CIE-LABlab(66.57, -41.18, 3.15)
CIE-LCHlch(66.57, 41.30, 175.62°)
OKLaboklab(69.7% -0.1174 0.0077)
OKLCHoklch(69.7% 0.118 176.2)
XYZxyz(23.7039, 36.0645, 36.7159)
Luminance0.3607 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B59B #B5314B
analogous
#31B559 #31B59B #318DB5
triadic
#31B59B #9B31B5 #B59B31
tetradic
#31B59B #5931B5 #B5314B #8DB531
square
#31B59B #5931B5 #B5314B #8DB531
split-complementary
#31B59B #B5318D #B55931
monochromatic
#175549 #248572 #31B59B #53D0B8 #83DDCC

Accessibility & contrast

On white

2.56
#31B59B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#31B59B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B59B
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B59B#FFFFFF#000000##000000
##31B59B1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA99A
Deuteranopia (green-blind)
#9C9D9D
Tritanopia (blue-blind)
#00B7AD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b59b;
/* rgb */ color: rgb(49, 181, 155);
/* oklch */ color: oklch(69.7% 0.118 176.2);
Tailwind
colors: {
  custom: {
    50: '#7dccb8',
    500: '#31b59b',
    950: '#000000',
  },
}
SCSS
$custom: #31b59b;
$custom-light: #7dccb8;
$custom-dark: #000000;
JSON
{
  "hex": "#31b59b",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 155
  },
  "hsl": {
    "h": 168.182,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.697,
    "c": 0.11763,
    "h": 176.2
  },
  "luminance": 0.36067
}

Semantic roles & 50–950 ramp

primary
#31B59B
secondary
#C77B8A
accent
#4765E1
background
#F8FCFB
surface
#EFF9F6
border
#CAD2D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31B59B

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

Preview Lab → · Contrast checker → · Palette generator →

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