#31A385#31A385

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

Color values

HEX#31A385
RGBrgb(49, 163, 133)
HSLhsl(164, 54%, 42%)
HSVhsv(164, 70%, 64%)
CMYKcmyk(69.9%, 0%, 18.4%, 36.1%)
CIE-LABlab(60.37, -38.93, 6.47)
CIE-LCHlch(60.37, 39.46, 170.56°)
OKLaboklab(64.45% -0.1093 0.0165)
OKLCHoklch(64.45% 0.111 171.4)
XYZxyz(18.5953, 28.5387, 26.7143)
Luminance0.2854 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A385 #A3314F
analogous
#31A34C #31A385 #3188A3
triadic
#31A385 #8531A3 #A38531
tetradic
#31A385 #4C31A3 #A3314F #88A331
square
#31A385 #4C31A3 #A3314F #88A331
split-complementary
#31A385 #A33188 #A34C31
monochromatic
#154538 #23745F #31A385 #49C8A7 #78D6BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A385#FFFFFF#000000##000000
##31A3851.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)
#9E9884
Deuteranopia (green-blind)
#8F8D87
Tritanopia (blue-blind)
#00A49A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a385;
/* rgb */ color: rgb(49, 163, 133);
/* oklch */ color: oklch(64.5% 0.111 171.4);
Tailwind
colors: {
  custom: {
    50: '#79bfa8',
    500: '#31a385',
    950: '#000000',
  },
}
SCSS
$custom: #31a385;
$custom-light: #79bfa8;
$custom-dark: #000000;
JSON
{
  "hex": "#31a385",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 133
  },
  "hsl": {
    "h": 164.211,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.64451,
    "c": 0.11054,
    "h": 171.4
  },
  "luminance": 0.28541
}

Semantic roles & 50–950 ramp

primary
#31A385
secondary
#BF7186
accent
#4B71DD
background
#F7FBFA
surface
#EEF7F4
border
#C9D0CE
text
#0A120F
muted
#7C817F

Preview Lab

Preview with #31A385

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

Preview Lab → · Contrast checker → · Palette generator →

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