#31A372#31A372

#31A372 is a light, vivid teal. Relative luminance 0.281; OKLCH L 64.0% C 0.126 H 160.6°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#31A372
RGBrgb(49, 163, 114)
HSLhsl(154, 54%, 42%)
HSVhsv(154, 70%, 64%)
CMYKcmyk(69.9%, 0%, 30.1%, 36.1%)
CIE-LABlab(59.94, -43.44, 16.47)
CIE-LCHlch(59.94, 46.46, 159.24°)
OKLaboklab(63.96% -0.1185 0.0418)
OKLCHoklch(63.96% 0.126 160.6)
XYZxyz(17.3993, 28.0603, 20.4155)
Luminance0.2806 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A372 #A33162
analogous
#31A339 #31A372 #319BA3
triadic
#31A372 #7231A3 #A37231
tetradic
#31A372 #3931A3 #A33162 #9BA331
square
#31A372 #3931A3 #A33162 #9BA331
split-complementary
#31A372 #A3319B #A33931
monochromatic
#154530 #237451 #31A372 #49C892 #78D6AE

Accessibility & contrast

On white

3.18
#31A372 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#31A372 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A372
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A372#FFFFFF#000000##000000
##31A3721.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1976F
Deuteranopia (green-blind)
#928C75
Tritanopia (blue-blind)
#00A296
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a372;
/* rgb */ color: rgb(49, 163, 114);
/* oklch */ color: oklch(64.0% 0.126 160.6);
Tailwind
colors: {
  custom: {
    50: '#78bf9a',
    500: '#31a372',
    950: '#000000',
  },
}
SCSS
$custom: #31a372;
$custom-light: #78bf9a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a372",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 114
  },
  "hsl": {
    "h": 154.211,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63957,
    "c": 0.1257,
    "h": 160.6
  },
  "luminance": 0.28062
}

Semantic roles & 50–950 ramp

primary
#31A372
secondary
#BF7192
accent
#4B8ADD
background
#F7FBF9
surface
#EEF7F2
border
#C9D0CC
text
#0A120E
muted
#7C817E

Preview Lab

Preview with #31A372

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

Preview Lab → · Contrast checker → · Palette generator →

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