#31A48A#31A48A

#31A48A is a light, moderate teal. Relative luminance 0.290; OKLCH L 64.9% C 0.108 H 174.3°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#31A48A
RGBrgb(49, 164, 138)
HSLhsl(166, 54%, 42%)
HSVhsv(166, 70%, 64%)
CMYKcmyk(70.1%, 0%, 15.9%, 35.7%)
CIE-LABlab(60.81, -38.09, 4.30)
CIE-LCHlch(60.81, 38.33, 173.56°)
OKLaboklab(64.85% -0.1079 0.0108)
OKLCHoklch(64.85% 0.108 174.3)
XYZxyz(19.1272, 29.0367, 28.6364)
Luminance0.2904 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A48A #A4314B
analogous
#31A451 #31A48A #3185A4
triadic
#31A48A #8A31A4 #A48A31
tetradic
#31A48A #5131A4 #A4314B #85A431
square
#31A48A #5131A4 #A4314B #85A431
split-complementary
#31A48A #A43185 #A45131
monochromatic
#15463B #237562 #31A48A #49C9AC #79D7C2

Accessibility & contrast

On white

3.08
#31A48A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#31A48A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A48A
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A48A#FFFFFF#000000##000000
##31A48A1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E9989
Deuteranopia (green-blind)
#8F8E8C
Tritanopia (blue-blind)
#00A69C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a48a;
/* rgb */ color: rgb(49, 164, 138);
/* oklch */ color: oklch(64.9% 0.108 174.3);
Tailwind
colors: {
  custom: {
    50: '#79bfac',
    500: '#31a48a',
    950: '#000000',
  },
}
SCSS
$custom: #31a48a;
$custom-light: #79bfac;
$custom-dark: #000000;
JSON
{
  "hex": "#31a48a",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 138
  },
  "hsl": {
    "h": 166.435,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64853,
    "c": 0.10849,
    "h": 174.3
  },
  "luminance": 0.29039
}

Semantic roles & 50–950 ramp

primary
#31A48A
secondary
#BF7283
accent
#4A6CDD
background
#F7FBFA
surface
#EEF7F4
border
#C9D0CE
text
#0A1210
muted
#7C817F

Preview Lab

Preview with #31A48A

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

Preview Lab → · Contrast checker → · Palette generator →

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