#31A488#31A488

#31A488 is a light, moderate teal. Relative luminance 0.290; OKLCH L 64.8% C 0.110 H 172.9°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#31A488
RGBrgb(49, 164, 136)
HSLhsl(165, 54%, 42%)
HSVhsv(165, 70%, 64%)
CMYKcmyk(70.1%, 0%, 17.1%, 35.7%)
CIE-LABlab(60.76, -38.61, 5.35)
CIE-LCHlch(60.76, 38.97, 172.11°)
OKLaboklab(64.8% -0.1089 0.0135)
OKLCHoklch(64.8% 0.11 172.9)
XYZxyz(18.9838, 28.9793, 27.8809)
Luminance0.2898 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A488 #A4314D
analogous
#31A44E #31A488 #3187A4
triadic
#31A488 #8831A4 #A48831
tetradic
#31A488 #4E31A4 #A4314D #87A431
square
#31A488 #4E31A4 #A4314D #87A431
split-complementary
#31A488 #A43187 #A44E31
monochromatic
#15463A #237561 #31A488 #49C9AA #79D7C0

Accessibility & contrast

On white

3.09
#31A488 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#31A488 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A488
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A488#FFFFFF#000000##000000
##31A4881.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a488;
/* rgb */ color: rgb(49, 164, 136);
/* oklch */ color: oklch(64.8% 0.110 172.9);
Tailwind
colors: {
  custom: {
    50: '#79c0aa',
    500: '#31a488',
    950: '#000000',
  },
}
SCSS
$custom: #31a488;
$custom-light: #79c0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#31a488",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 136
  },
  "hsl": {
    "h": 165.391,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64795,
    "c": 0.10975,
    "h": 172.9
  },
  "luminance": 0.28981
}

Semantic roles & 50–950 ramp

primary
#31A488
secondary
#BF7285
accent
#4A6EDD
background
#F7FBFA
surface
#EEF7F4
border
#C9D0CE
text
#0A1210
muted
#7C817F

Preview Lab

Preview with #31A488

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

Preview Lab → · Contrast checker → · Palette generator →

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