#31B28F#31B28F

#31B28F is a light, vivid teal. Relative luminance 0.345; OKLCH L 68.6% C 0.122 H 170.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#31B28F
RGBrgb(49, 178, 143)
HSLhsl(164, 57%, 45%)
HSVhsv(164, 72%, 70%)
CMYKcmyk(72.5%, 0%, 19.7%, 30.2%)
CIE-LABlab(65.34, -42.94, 8.01)
CIE-LCHlch(65.34, 43.68, 169.44°)
OKLaboklab(68.59% -0.12 0.0204)
OKLCHoklch(68.59% 0.122 170.3)
XYZxyz(22.1423, 34.4743, 31.4685)
Luminance0.3448 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B28F #B23154
analogous
#31B24F #31B28F #3195B2
triadic
#31B28F #8F31B2 #B28F31
tetradic
#31B28F #4F31B2 #B23154 #95B231
square
#31B28F #4F31B2 #B23154 #95B231
split-complementary
#31B28F #B23195 #B24F31
monochromatic
#175242 #248268 #31B28F #51CFAD #81DCC4

Accessibility & contrast

On white

2.66
#31B28F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#31B28F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B28F
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B28F#FFFFFF#000000##000000
##31B28F1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA68D
Deuteranopia (green-blind)
#9C9A91
Tritanopia (blue-blind)
#00B3A8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b28f;
/* rgb */ color: rgb(49, 178, 143);
/* oklch */ color: oklch(68.6% 0.122 170.3);
Tailwind
colors: {
  custom: {
    50: '#7ccaaf',
    500: '#31b28f',
    950: '#000000',
  },
}
SCSS
$custom: #31b28f;
$custom-light: #7ccaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#31b28f",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 143
  },
  "hsl": {
    "h": 163.721,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68594,
    "c": 0.12175,
    "h": 170.3
  },
  "luminance": 0.34477
}

Semantic roles & 50–950 ramp

primary
#31B28F
secondary
#C5798E
accent
#4871E0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B28F

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

Preview Lab → · Contrast checker → · Palette generator →

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