#31A28F#31A28F

#31A28F is a light, moderate teal. Relative luminance 0.285; OKLCH L 64.5% C 0.103 H 179.2°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#31A28F
RGBrgb(49, 162, 143)
HSLhsl(170, 54%, 41%)
HSVhsv(170, 70%, 64%)
CMYKcmyk(69.8%, 0%, 11.7%, 36.5%)
CIE-LABlab(60.32, -35.86, 0.76)
CIE-LCHlch(60.32, 35.87, 178.78°)
OKLaboklab(64.49% -0.1035 0.0014)
OKLCHoklch(64.49% 0.103 179.2)
XYZxyz(19.1425, 28.4746, 30.4686)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A28F #A23144
analogous
#31A257 #31A28F #317DA2
triadic
#31A28F #8F31A2 #A28F31
tetradic
#31A28F #5731A2 #A23144 #7DA231
square
#31A28F #5731A2 #A23144 #7DA231
split-complementary
#31A28F #A2317D #A25731
monochromatic
#15443C #237366 #31A28F #48C8B2 #77D6C6

Accessibility & contrast

On white

3.14
#31A28F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#31A28F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A28F
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A28F#FFFFFF#000000##000000
##31A28F1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B988E
Deuteranopia (green-blind)
#8B8D91
Tritanopia (blue-blind)
#00A59C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a28f;
/* rgb */ color: rgb(49, 162, 143);
/* oklch */ color: oklch(64.5% 0.103 179.2);
Tailwind
colors: {
  custom: {
    50: '#79beaf',
    500: '#31a28f',
    950: '#000000',
  },
}
SCSS
$custom: #31a28f;
$custom-light: #79beaf;
$custom-dark: #000000;
JSON
{
  "hex": "#31a28f",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 143
  },
  "hsl": {
    "h": 169.912,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6449,
    "c": 0.10347,
    "h": 179.2
  },
  "luminance": 0.28477
}

Semantic roles & 50–950 ramp

primary
#31A28F
secondary
#BE717E
accent
#4B63DD
background
#F7FBFA
surface
#EEF7F4
border
#C9D0CE
text
#0A1210
muted
#7C817F

Preview Lab

Preview with #31A28F

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

Preview Lab → · Contrast checker → · Palette generator →

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