#31B28C#31B28C

#31B28C is a light, vivid teal. Relative luminance 0.344; OKLCH L 68.5% C 0.124 H 168.6°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#31B28C
RGBrgb(49, 178, 140)
HSLhsl(162, 57%, 45%)
HSVhsv(162, 72%, 70%)
CMYKcmyk(72.5%, 0%, 21.3%, 30.2%)
CIE-LABlab(65.27, -43.67, 9.56)
CIE-LCHlch(65.27, 44.71, 167.65°)
OKLaboklab(68.51% -0.1215 0.0244)
OKLCHoklch(68.51% 0.124 168.6)
XYZxyz(21.9181, 34.3846, 30.2876)
Luminance0.3439 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B28C #B23157
analogous
#31B24C #31B28C #3197B2
triadic
#31B28C #8C31B2 #B28C31
tetradic
#31B28C #4C31B2 #B23157 #97B231
square
#31B28C #4C31B2 #B23157 #97B231
split-complementary
#31B28C #B23197 #B24C31
monochromatic
#175241 #248266 #31B28C #51CFAA #81DCC1

Accessibility & contrast

On white

2.67
#31B28C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#31B28C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B28C
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B28C#FFFFFF#000000##000000
##31B28C1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA68A
Deuteranopia (green-blind)
#9C998F
Tritanopia (blue-blind)
#00B3A7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b28c;
/* rgb */ color: rgb(49, 178, 140);
/* oklch */ color: oklch(68.5% 0.124 168.6);
Tailwind
colors: {
  custom: {
    50: '#7ccaad',
    500: '#31b28c',
    950: '#000000',
  },
}
SCSS
$custom: #31b28c;
$custom-light: #7ccaad;
$custom-dark: #000000;
JSON
{
  "hex": "#31b28c",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 140
  },
  "hsl": {
    "h": 162.326,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68513,
    "c": 0.1239,
    "h": 168.6
  },
  "luminance": 0.34387
}

Semantic roles & 50–950 ramp

primary
#31B28C
secondary
#C57990
accent
#4875E0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B28C

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

Preview Lab → · Contrast checker → · Palette generator →

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