#31A98B#31A98B

#31A98B is a light, moderate teal. Relative luminance 0.309; OKLCH L 66.2% C 0.114 H 172.2°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#31A98B
RGBrgb(49, 169, 139)
HSLhsl(165, 55%, 43%)
HSVhsv(165, 71%, 66%)
CMYKcmyk(71%, 0%, 17.8%, 33.7%)
CIE-LABlab(62.42, -40.05, 6.04)
CIE-LCHlch(62.42, 40.50, 171.42°)
OKLaboklab(66.17% -0.1127 0.0153)
OKLCHoklch(66.17% 0.114 172.2)
XYZxyz(20.1124, 30.8907, 29.3236)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A98B #A9314F
analogous
#31A94F #31A98B #318BA9
triadic
#31A98B #8B31A9 #A98B31
tetradic
#31A98B #4F31A9 #A9314F #8BA931
square
#31A98B #4F31A9 #A9314F #8BA931
split-complementary
#31A98B #A9318B #A94F31
monochromatic
#154A3D #237A64 #31A98B #4CCBAB #7CD9C2

Accessibility & contrast

On white

2.93
#31A98B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#31A98B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A98B
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A98B#FFFFFF#000000##000000
##31A98B1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49E8A
Deuteranopia (green-blind)
#93928D
Tritanopia (blue-blind)
#00ABA0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31a98b;
/* rgb */ color: rgb(49, 169, 139);
/* oklch */ color: oklch(66.2% 0.114 172.2);
Tailwind
colors: {
  custom: {
    50: '#7ac3ac',
    500: '#31a98b',
    950: '#000000',
  },
}
SCSS
$custom: #31a98b;
$custom-light: #7ac3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#31a98b",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 139
  },
  "hsl": {
    "h": 165,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66171,
    "c": 0.11373,
    "h": 172.2
  },
  "luminance": 0.30893
}

Semantic roles & 50–950 ramp

primary
#31A98B
secondary
#C17488
accent
#496FDE
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0A1210
muted
#7C817F

Preview Lab

Preview with #31A98B

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

Preview Lab → · Contrast checker → · Palette generator →

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