#31AB7C#31AB7C

#31AB7C is a light, vivid teal. Relative luminance 0.312; OKLCH L 66.3% C 0.128 H 162.9°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#31AB7C
RGBrgb(49, 171, 124)
HSLhsl(157, 55%, 43%)
HSVhsv(157, 71%, 67%)
CMYKcmyk(71.3%, 0%, 27.5%, 32.9%)
CIE-LABlab(62.70, -44.51, 14.77)
CIE-LCHlch(62.70, 46.90, 161.65°)
OKLaboklab(66.29% -0.122 0.0376)
OKLCHoklch(66.29% 0.128 162.9)
XYZxyz(19.4656, 31.2318, 24.0673)
Luminance0.3123 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB7C #AB3160
analogous
#31AB3F #31AB7C #319DAB
triadic
#31AB7C #7C31AB #AB7C31
tetradic
#31AB7C #3F31AB #AB3160 #9DAB31
square
#31AB7C #3F31AB #AB3160 #9DAB31
split-complementary
#31AB7C #AB319D #AB3F31
monochromatic
#164C37 #237B5A #31AB7C #4DCC9B #7DDAB6

Accessibility & contrast

On white

2.90
#31AB7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#31AB7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB7C
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB7C#FFFFFF#000000##000000
##31AB7C1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89E79
Deuteranopia (green-blind)
#98937F
Tritanopia (blue-blind)
#00AB9E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31ab7c;
/* rgb */ color: rgb(49, 171, 124);
/* oklch */ color: oklch(66.3% 0.128 162.9);
Tailwind
colors: {
  custom: {
    50: '#7ac5a2',
    500: '#31ab7c',
    950: '#000000',
  },
}
SCSS
$custom: #31ab7c;
$custom-light: #7ac5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab7c",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 124
  },
  "hsl": {
    "h": 156.885,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66292,
    "c": 0.12767,
    "h": 162.9
  },
  "luminance": 0.31234
}

Semantic roles & 50–950 ramp

primary
#31AB7C
secondary
#C27593
accent
#4983DF
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0A130F
muted
#7C827E

Preview Lab

Preview with #31AB7C

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

Preview Lab → · Contrast checker → · Palette generator →

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