#31AF7E#31AF7E

#31AF7E is a light, vivid teal. Relative luminance 0.328; OKLCH L 67.4% C 0.131 H 162.5°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#31AF7E
RGBrgb(49, 175, 126)
HSLhsl(157, 56%, 44%)
HSVhsv(157, 72%, 69%)
CMYKcmyk(72%, 0%, 28%, 31.4%)
CIE-LABlab(64.01, -45.71, 15.49)
CIE-LCHlch(64.01, 48.26, 161.28°)
OKLaboklab(67.38% -0.1251 0.0395)
OKLCHoklch(67.38% 0.131 162.5)
XYZxyz(20.3603, 32.8169, 24.9959)
Luminance0.3282 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF7E #AF3162
analogous
#31AF3F #31AF7E #31A1AF
triadic
#31AF7E #7E31AF #AF7E31
tetradic
#31AF7E #3F31AF #AF3162 #A1AF31
square
#31AF7E #3F31AF #AF3162 #A1AF31
split-complementary
#31AF7E #AF31A1 #AF3F31
monochromatic
#164F39 #247F5C #31AF7E #4FCE9D #7FDBB7

Accessibility & contrast

On white

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

On black

7.56
#31AF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF7E
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF7E#FFFFFF#000000##000000
##31AF7E1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA27B
Deuteranopia (green-blind)
#9C9681
Tritanopia (blue-blind)
#00AFA2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31af7e;
/* rgb */ color: rgb(49, 175, 126);
/* oklch */ color: oklch(67.4% 0.131 162.5);
Tailwind
colors: {
  custom: {
    50: '#7bc8a3',
    500: '#31af7e',
    950: '#000000',
  },
}
SCSS
$custom: #31af7e;
$custom-light: #7bc8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#31af7e",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 126
  },
  "hsl": {
    "h": 156.667,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67382,
    "c": 0.13121,
    "h": 162.5
  },
  "luminance": 0.32819
}

Semantic roles & 50–950 ramp

primary
#31AF7E
secondary
#C47895
accent
#4883E0
background
#F8FCFA
surface
#EFF8F3
border
#CAD1CD
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31AF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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