#31B47C#31B47C

#31B47C is a light, vivid teal. Relative luminance 0.348; OKLCH L 68.6% C 0.139 H 160.1°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#31B47C
RGBrgb(49, 180, 124)
HSLhsl(154, 57%, 45%)
HSVhsv(154, 73%, 71%)
CMYKcmyk(72.8%, 0%, 31.1%, 29.4%)
CIE-LABlab(65.55, -48.18, 18.71)
CIE-LCHlch(65.55, 51.68, 158.78°)
OKLaboklab(68.63% -0.1312 0.0474)
OKLCHoklch(68.63% 0.139 160.1)
XYZxyz(21.2238, 34.7483, 24.6534)
Luminance0.3475 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B47C #B43169
analogous
#31B43A #31B47C #31ABB4
triadic
#31B47C #7C31B4 #B47C31
tetradic
#31B47C #3A31B4 #B43169 #ABB431
square
#31B47C #3A31B4 #B43169 #ABB431
split-complementary
#31B47C #B431AB #B43A31
monochromatic
#17543A #24845B #31B47C #52D09A #82DDB6

Accessibility & contrast

On white

2.64
#31B47C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#31B47C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B47C
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B47C#FFFFFF#000000##000000
##31B47C1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A679
Deuteranopia (green-blind)
#A19A80
Tritanopia (blue-blind)
#00B3A5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b47c;
/* rgb */ color: rgb(49, 180, 124);
/* oklch */ color: oklch(68.6% 0.139 160.1);
Tailwind
colors: {
  custom: {
    50: '#7ccba2',
    500: '#31b47c',
    950: '#000000',
  },
}
SCSS
$custom: #31b47c;
$custom-light: #7ccba2;
$custom-dark: #000000;
JSON
{
  "hex": "#31b47c",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 124
  },
  "hsl": {
    "h": 154.351,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68634,
    "c": 0.13947,
    "h": 160.1
  },
  "luminance": 0.34751
}

Semantic roles & 50–950 ramp

primary
#31B47C
secondary
#C67B9B
accent
#4789E0
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130F
muted
#7C827E

Preview Lab

Preview with #31B47C

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

Preview Lab → · Contrast checker → · Palette generator →

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