#31B18F#31B18F

#31B18F is a light, vivid teal. Relative luminance 0.341; OKLCH L 68.3% C 0.121 H 170.8°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#31B18F
RGBrgb(49, 177, 143)
HSLhsl(164, 57%, 44%)
HSVhsv(164, 72%, 69%)
CMYKcmyk(72.3%, 0%, 19.2%, 30.6%)
CIE-LABlab(65.02, -42.51, 7.56)
CIE-LCHlch(65.02, 43.17, 169.92°)
OKLaboklab(68.34% -0.119 0.0193)
OKLCHoklch(68.34% 0.121 170.8)
XYZxyz(21.9441, 34.0779, 31.4024)
Luminance0.3408 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B18F #B13153
analogous
#31B14F #31B18F #3193B1
triadic
#31B18F #8F31B1 #B18F31
tetradic
#31B18F #4F31B1 #B13153 #93B131
square
#31B18F #4F31B1 #B13153 #93B131
split-complementary
#31B18F #B13193 #B14F31
monochromatic
#165142 #248168 #31B18F #51CFAD #80DCC4

Accessibility & contrast

On white

2.69
#31B18F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#31B18F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B18F
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B18F#FFFFFF#000000##000000
##31B18F1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA58D
Deuteranopia (green-blind)
#9B9991
Tritanopia (blue-blind)
#00B2A7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b18f;
/* rgb */ color: rgb(49, 177, 143);
/* oklch */ color: oklch(68.3% 0.121 170.8);
Tailwind
colors: {
  custom: {
    50: '#7cc9af',
    500: '#31b18f',
    950: '#000000',
  },
}
SCSS
$custom: #31b18f;
$custom-light: #7cc9af;
$custom-dark: #000000;
JSON
{
  "hex": "#31b18f",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 143
  },
  "hsl": {
    "h": 164.063,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68338,
    "c": 0.12056,
    "h": 170.8
  },
  "luminance": 0.3408
}

Semantic roles & 50–950 ramp

primary
#31B18F
secondary
#C5798D
accent
#4870E0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B18F

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

Preview Lab → · Contrast checker → · Palette generator →

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