#31A682#31A682

#31A682 is a light, moderate teal. Relative luminance 0.295; OKLCH L 65.1% C 0.116 H 168.1°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#31A682
RGBrgb(49, 166, 130)
HSLhsl(162, 54%, 42%)
HSVhsv(162, 70%, 65%)
CMYKcmyk(70.5%, 0%, 21.7%, 34.9%)
CIE-LABlab(61.25, -40.98, 9.40)
CIE-LCHlch(61.25, 42.05, 167.08°)
OKLaboklab(65.15% -0.1139 0.024)
OKLCHoklch(65.15% 0.116 168.1)
XYZxyz(18.9300, 29.5350, 25.8179)
Luminance0.2954 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A682 #A63155
analogous
#31A647 #31A682 #3190A6
triadic
#31A682 #8231A6 #A68231
tetradic
#31A682 #4731A6 #A63155 #90A631
square
#31A682 #4731A6 #A63155 #90A631
split-complementary
#31A682 #A63190 #A64731
monochromatic
#154738 #23775D #31A682 #4ACAA3 #7AD8BB

Accessibility & contrast

On white

3.04
#31A682 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#31A682 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A682
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A682#FFFFFF#000000##000000
##31A6821.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29B80
Deuteranopia (green-blind)
#928F84
Tritanopia (blue-blind)
#00A79C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a682;
/* rgb */ color: rgb(49, 166, 130);
/* oklch */ color: oklch(65.1% 0.116 168.1);
Tailwind
colors: {
  custom: {
    50: '#79c1a6',
    500: '#31a682',
    950: '#000000',
  },
}
SCSS
$custom: #31a682;
$custom-light: #79c1a6;
$custom-dark: #000000;
JSON
{
  "hex": "#31a682",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 130
  },
  "hsl": {
    "h": 161.538,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65146,
    "c": 0.11642,
    "h": 168.1
  },
  "luminance": 0.29537
}

Semantic roles & 50–950 ramp

primary
#31A682
secondary
#C0738B
accent
#4A77DE
background
#F7FBFA
surface
#EEF7F4
border
#C9D0CE
text
#0A120F
muted
#7C817F

Preview Lab

Preview with #31A682

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

Preview Lab → · Contrast checker → · Palette generator →

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