#31B372#31B372

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

Color values

HEX#31B372
RGBrgb(49, 179, 114)
HSLhsl(150, 57%, 45%)
HSVhsv(150, 73%, 70%)
CMYKcmyk(72.6%, 0%, 36.3%, 29.8%)
CIE-LABlab(65.05, -49.87, 23.41)
CIE-LCHlch(65.05, 55.09, 154.85°)
OKLaboklab(68.16% -0.1349 0.0588)
OKLCHoklch(68.16% 0.147 156.5)
XYZxyz(20.4220, 34.1057, 21.4231)
Luminance0.3411 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B372 #B33172
analogous
#31B331 #31B372 #31B3B3
triadic
#31B372 #7231B3 #B37231
tetradic
#31B372 #3131B3 #B33172 #B3B331
square
#31B372 #3131B3 #B33172 #B3B331
split-complementary
#31B372 #B331B3 #B33131
monochromatic
#175335 #248353 #31B372 #52D091 #82DDAF

Accessibility & contrast

On white

2.68
#31B372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B372#FFFFFF#000000##000000
##31B3721.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A56E
Deuteranopia (green-blind)
#A29976
Tritanopia (blue-blind)
#00B1A2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b372;
/* rgb */ color: rgb(49, 179, 114);
/* oklch */ color: oklch(68.2% 0.147 156.5);
Tailwind
colors: {
  custom: {
    50: '#7bcb9b',
    500: '#31b372',
    950: '#000000',
  },
}
SCSS
$custom: #31b372;
$custom-light: #7bcb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b372",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 114
  },
  "hsl": {
    "h": 150,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68155,
    "c": 0.14715,
    "h": 156.5
  },
  "luminance": 0.34108
}

Semantic roles & 50–950 ramp

primary
#31B372
secondary
#C67AA0
accent
#4894E0
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B372

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

Preview Lab → · Contrast checker → · Palette generator →

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