#31B37B#31B37B

#31B37B is a light, vivid teal. Relative luminance 0.343; OKLCH L 68.4% C 0.139 H 160.0°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#31B37B
RGBrgb(49, 179, 123)
HSLhsl(154, 57%, 45%)
HSVhsv(154, 73%, 70%)
CMYKcmyk(72.6%, 0%, 31.3%, 29.8%)
CIE-LABlab(65.22, -47.99, 18.79)
CIE-LCHlch(65.22, 51.54, 158.62°)
OKLaboklab(68.35% -0.1306 0.0476)
OKLCHoklch(68.35% 0.139 160)
XYZxyz(20.9597, 34.3208, 24.2550)
Luminance0.3432 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B37B #B33169
analogous
#31B33A #31B37B #31AAB3
triadic
#31B37B #7B31B3 #B37B31
tetradic
#31B37B #3A31B3 #B33169 #AAB331
square
#31B37B #3A31B3 #B33169 #AAB331
split-complementary
#31B37B #B331AA #B33A31
monochromatic
#175339 #24835A #31B37B #52D099 #82DDB6

Accessibility & contrast

On white

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

On black

7.86
#31B37B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B37B
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B37B#FFFFFF#000000##000000
##31B37B1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A578
Deuteranopia (green-blind)
#A19A7F
Tritanopia (blue-blind)
#00B2A4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b37b;
/* rgb */ color: rgb(49, 179, 123);
/* oklch */ color: oklch(68.4% 0.139 160.0);
Tailwind
colors: {
  custom: {
    50: '#7bcba1',
    500: '#31b37b',
    950: '#000000',
  },
}
SCSS
$custom: #31b37b;
$custom-light: #7bcba1;
$custom-dark: #000000;
JSON
{
  "hex": "#31b37b",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 123
  },
  "hsl": {
    "h": 154.154,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68351,
    "c": 0.13904,
    "h": 160
  },
  "luminance": 0.34323
}

Semantic roles & 50–950 ramp

primary
#31B37B
secondary
#C67A9B
accent
#4889E0
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130F
muted
#7C827E

Preview Lab

Preview with #31B37B

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

Preview Lab → · Contrast checker → · Palette generator →

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