#31A882#31A882

#31A882 is a light, moderate teal. Relative luminance 0.303; OKLCH L 65.7% C 0.119 H 167.2°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#31A882
RGBrgb(49, 168, 130)
HSLhsl(161, 55%, 43%)
HSVhsv(161, 71%, 66%)
CMYKcmyk(70.8%, 0%, 22.6%, 34.1%)
CIE-LABlab(61.88, -41.84, 10.30)
CIE-LCHlch(61.88, 43.09, 166.17°)
OKLaboklab(65.66% -0.116 0.0263)
OKLCHoklch(65.66% 0.119 167.2)
XYZxyz(19.2964, 30.2677, 25.9401)
Luminance0.3027 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A882 #A83157
analogous
#31A846 #31A882 #3193A8
triadic
#31A882 #8231A8 #A88231
tetradic
#31A882 #4631A8 #A83157 #93A831
square
#31A882 #4631A8 #A83157 #93A831
split-complementary
#31A882 #A83193 #A84631
monochromatic
#154939 #23795D #31A882 #4CCBA2 #7BD8BB

Accessibility & contrast

On white

2.98
#31A882 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#31A882 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A882
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A882#FFFFFF#000000##000000
##31A8821.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49C80
Deuteranopia (green-blind)
#949185
Tritanopia (blue-blind)
#00A99D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31a882;
/* rgb */ color: rgb(49, 168, 130);
/* oklch */ color: oklch(65.7% 0.119 167.2);
Tailwind
colors: {
  custom: {
    50: '#79c3a6',
    500: '#31a882',
    950: '#000000',
  },
}
SCSS
$custom: #31a882;
$custom-light: #79c3a6;
$custom-dark: #000000;
JSON
{
  "hex": "#31a882",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 130
  },
  "hsl": {
    "h": 160.84,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65665,
    "c": 0.11894,
    "h": 167.2
  },
  "luminance": 0.3027
}

Semantic roles & 50–950 ramp

primary
#31A882
secondary
#C1748C
accent
#4A79DE
background
#F7FCFA
surface
#EEF8F4
border
#C9D1CE
text
#0A120F
muted
#7C817F

Preview Lab

Preview with #31A882

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

Preview Lab → · Contrast checker → · Palette generator →

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