#31B18C#31B18C

#31B18C is a light, vivid teal. Relative luminance 0.340; OKLCH L 68.3% C 0.123 H 169.1°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#31B18C
RGBrgb(49, 177, 140)
HSLhsl(163, 57%, 44%)
HSVhsv(163, 72%, 69%)
CMYKcmyk(72.3%, 0%, 20.9%, 30.6%)
CIE-LABlab(64.95, -43.25, 9.11)
CIE-LCHlch(64.95, 44.20, 168.10°)
OKLaboklab(68.26% -0.1204 0.0233)
OKLCHoklch(68.26% 0.123 169.1)
XYZxyz(21.7199, 33.9882, 30.2215)
Luminance0.3399 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B18C #B13156
analogous
#31B14C #31B18C #3196B1
triadic
#31B18C #8C31B1 #B18C31
tetradic
#31B18C #4C31B1 #B13156 #96B131
square
#31B18C #4C31B1 #B13156 #96B131
split-complementary
#31B18C #B13196 #B14C31
monochromatic
#165140 #248166 #31B18C #51CFAA #80DCC2

Accessibility & contrast

On white

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

On black

7.80
#31B18C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B18C
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B18C#FFFFFF#000000##000000
##31B18C1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA58A
Deuteranopia (green-blind)
#9B998F
Tritanopia (blue-blind)
#00B2A6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b18c;
/* rgb */ color: rgb(49, 177, 140);
/* oklch */ color: oklch(68.3% 0.123 169.1);
Tailwind
colors: {
  custom: {
    50: '#7bc9ad',
    500: '#31b18c',
    950: '#000000',
  },
}
SCSS
$custom: #31b18c;
$custom-light: #7bc9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#31b18c",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 140
  },
  "hsl": {
    "h": 162.656,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68256,
    "c": 0.12268,
    "h": 169.1
  },
  "luminance": 0.33991
}

Semantic roles & 50–950 ramp

primary
#31B18C
secondary
#C5798F
accent
#4874E0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B18C

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

Preview Lab → · Contrast checker → · Palette generator →

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