#31A386#31A386

#31A386 is a light, moderate teal. Relative luminance 0.286; OKLCH L 64.5% C 0.110 H 172.1°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#31A386
RGBrgb(49, 163, 134)
HSLhsl(165, 54%, 42%)
HSVhsv(165, 70%, 64%)
CMYKcmyk(69.9%, 0%, 17.8%, 36.1%)
CIE-LABlab(60.40, -38.67, 5.94)
CIE-LCHlch(60.40, 39.13, 171.26°)
OKLaboklab(64.48% -0.1088 0.0151)
OKLCHoklch(64.48% 0.11 172.1)
XYZxyz(18.6647, 28.5665, 27.0798)
Luminance0.2857 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A386 #A3314E
analogous
#31A34D #31A386 #3187A3
triadic
#31A386 #8631A3 #A38631
tetradic
#31A386 #4D31A3 #A3314E #87A331
square
#31A386 #4D31A3 #A3314E #87A331
split-complementary
#31A386 #A33187 #A34D31
monochromatic
#154539 #23745F #31A386 #49C8A8 #78D6BE

Accessibility & contrast

On white

3.13
#31A386 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#31A386 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A386
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A386#FFFFFF#000000##000000
##31A3861.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E9885
Deuteranopia (green-blind)
#8E8D88
Tritanopia (blue-blind)
#00A49B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a386;
/* rgb */ color: rgb(49, 163, 134);
/* oklch */ color: oklch(64.5% 0.110 172.1);
Tailwind
colors: {
  custom: {
    50: '#79bfa9',
    500: '#31a386',
    950: '#000000',
  },
}
SCSS
$custom: #31a386;
$custom-light: #79bfa9;
$custom-dark: #000000;
JSON
{
  "hex": "#31a386",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 134
  },
  "hsl": {
    "h": 164.737,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.64479,
    "c": 0.10987,
    "h": 172.1
  },
  "luminance": 0.28569
}

Semantic roles & 50–950 ramp

primary
#31A386
secondary
#BF7185
accent
#4B70DD
background
#F7FBFA
surface
#EEF7F4
border
#C9D0CE
text
#0A120F
muted
#7C817F

Preview Lab

Preview with #31A386

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

Preview Lab → · Contrast checker → · Palette generator →

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