#31AC7B#31AC7B

#31AC7B is a light, vivid teal. Relative luminance 0.316; OKLCH L 66.5% C 0.130 H 162.0°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#31AC7B
RGBrgb(49, 172, 123)
HSLhsl(156, 56%, 43%)
HSVhsv(156, 72%, 67%)
CMYKcmyk(71.5%, 0%, 28.5%, 32.5%)
CIE-LABlab(63.00, -45.15, 15.73)
CIE-LCHlch(63.00, 47.81, 160.79°)
OKLaboklab(66.53% -0.1235 0.04)
OKLCHoklch(66.53% 0.13 162)
XYZxyz(19.5922, 31.5858, 23.7992)
Luminance0.3159 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC7B #AC3162
analogous
#31AC3E #31AC7B #319FAC
triadic
#31AC7B #7B31AC #AC7B31
tetradic
#31AC7B #3E31AC #AC3162 #9FAC31
square
#31AC7B #3E31AC #AC3162 #9FAC31
split-complementary
#31AC7B #AC319F #AC3E31
monochromatic
#164D37 #237C59 #31AC7B #4ECC9A #7DDAB5

Accessibility & contrast

On white

2.87
#31AC7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#31AC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC7B
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC7B#FFFFFF#000000##000000
##31AC7B1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99F78
Deuteranopia (green-blind)
#9A947E
Tritanopia (blue-blind)
#00AC9F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31ac7b;
/* rgb */ color: rgb(49, 172, 123);
/* oklch */ color: oklch(66.5% 0.130 162.0);
Tailwind
colors: {
  custom: {
    50: '#7ac5a1',
    500: '#31ac7b',
    950: '#000000',
  },
}
SCSS
$custom: #31ac7b;
$custom-light: #7ac5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac7b",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 123
  },
  "hsl": {
    "h": 156.098,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.66529,
    "c": 0.12983,
    "h": 162
  },
  "luminance": 0.31588
}

Semantic roles & 50–950 ramp

primary
#31AC7B
secondary
#C37695
accent
#4985DF
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0A130F
muted
#7C827E

Preview Lab

Preview with #31AC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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