#31B37C#31B37C

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

Color values

HEX#31B37C
RGBrgb(49, 179, 124)
HSLhsl(155, 57%, 45%)
HSVhsv(155, 73%, 70%)
CMYKcmyk(72.6%, 0%, 30.7%, 29.8%)
CIE-LABlab(65.24, -47.78, 18.27)
CIE-LCHlch(65.24, 51.15, 159.07°)
OKLaboklab(68.37% -0.1302 0.0464)
OKLCHoklch(68.37% 0.138 160.4)
XYZxyz(21.0226, 34.3460, 24.5864)
Luminance0.3435 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B37C #B33168
analogous
#31B33B #31B37C #31A9B3
triadic
#31B37C #7C31B3 #B37C31
tetradic
#31B37C #3B31B3 #B33168 #A9B331
square
#31B37C #3B31B3 #B33168 #A9B331
split-complementary
#31B37C #B331A9 #B33B31
monochromatic
#175339 #24835B #31B37C #52D09A #82DDB6

Accessibility & contrast

On white

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

On black

7.87
#31B37C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B37C
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B37C#FFFFFF#000000##000000
##31B37C1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b37c;
/* rgb */ color: rgb(49, 179, 124);
/* oklch */ color: oklch(68.4% 0.138 160.4);
Tailwind
colors: {
  custom: {
    50: '#7bcba2',
    500: '#31b37c',
    950: '#000000',
  },
}
SCSS
$custom: #31b37c;
$custom-light: #7bcba2;
$custom-dark: #000000;
JSON
{
  "hex": "#31b37c",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 124
  },
  "hsl": {
    "h": 154.615,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68374,
    "c": 0.13817,
    "h": 160.4
  },
  "luminance": 0.34348
}

Semantic roles & 50–950 ramp

primary
#31B37C
secondary
#C67A9A
accent
#4888E0
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130F
muted
#7C827E

Preview Lab

Preview with #31B37C

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

Preview Lab → · Contrast checker → · Palette generator →

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