#31AF7A#31AF7A

#31AF7A is a light, vivid teal. Relative luminance 0.327; OKLCH L 67.3% C 0.135 H 160.7°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#31AF7A
RGBrgb(49, 175, 122)
HSLhsl(155, 56%, 44%)
HSVhsv(155, 72%, 69%)
CMYKcmyk(72%, 0%, 30.3%, 31.4%)
CIE-LABlab(63.93, -46.60, 17.56)
CIE-LCHlch(63.93, 49.80, 159.35°)
OKLaboklab(67.29% -0.1271 0.0446)
OKLCHoklch(67.29% 0.135 160.7)
XYZxyz(20.1074, 32.7157, 23.6636)
Luminance0.3272 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF7A #AF3166
analogous
#31AF3B #31AF7A #31A5AF
triadic
#31AF7A #7A31AF #AF7A31
tetradic
#31AF7A #3B31AF #AF3166 #A5AF31
square
#31AF7A #3B31AF #AF3166 #A5AF31
split-complementary
#31AF7A #AF31A5 #AF3B31
monochromatic
#164F37 #247F59 #31AF7A #4FCE99 #7FDBB5

Accessibility & contrast

On white

2.78
#31AF7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#31AF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF7A
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF7A#FFFFFF#000000##000000
##31AF7A1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA277
Deuteranopia (green-blind)
#9D967D
Tritanopia (blue-blind)
#00AEA1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31af7a;
/* rgb */ color: rgb(49, 175, 122);
/* oklch */ color: oklch(67.3% 0.135 160.7);
Tailwind
colors: {
  custom: {
    50: '#7bc8a0',
    500: '#31af7a',
    950: '#000000',
  },
}
SCSS
$custom: #31af7a;
$custom-light: #7bc8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#31af7a",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 122
  },
  "hsl": {
    "h": 154.762,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67287,
    "c": 0.13466,
    "h": 160.7
  },
  "luminance": 0.32718
}

Semantic roles & 50–950 ramp

primary
#31AF7A
secondary
#C47898
accent
#4888E0
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31AF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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