#31AF7D#31AF7D

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

Color values

HEX#31AF7D
RGBrgb(49, 175, 125)
HSLhsl(156, 56%, 44%)
HSVhsv(156, 72%, 69%)
CMYKcmyk(72%, 0%, 28.6%, 31.4%)
CIE-LABlab(63.99, -45.94, 16.01)
CIE-LCHlch(63.99, 48.65, 160.79°)
OKLaboklab(67.36% -0.1256 0.0407)
OKLCHoklch(67.36% 0.132 162)
XYZxyz(20.2961, 32.7912, 24.6577)
Luminance0.3279 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF7D #AF3163
analogous
#31AF3E #31AF7D #31A2AF
triadic
#31AF7D #7D31AF #AF7D31
tetradic
#31AF7D #3E31AF #AF3163 #A2AF31
square
#31AF7D #3E31AF #AF3163 #A2AF31
split-complementary
#31AF7D #AF31A2 #AF3E31
monochromatic
#164F39 #247F5B #31AF7D #4FCE9C #7FDBB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AF7D#FFFFFF#000000##000000
##31AF7D1.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)
#ACA27A
Deuteranopia (green-blind)
#9C9680
Tritanopia (blue-blind)
#00AFA2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31af7d;
/* rgb */ color: rgb(49, 175, 125);
/* oklch */ color: oklch(67.4% 0.132 162.0);
Tailwind
colors: {
  custom: {
    50: '#7bc8a2',
    500: '#31af7d',
    950: '#000000',
  },
}
SCSS
$custom: #31af7d;
$custom-light: #7bc8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#31af7d",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 125
  },
  "hsl": {
    "h": 156.19,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67358,
    "c": 0.13206,
    "h": 162
  },
  "luminance": 0.32794
}

Semantic roles & 50–950 ramp

primary
#31AF7D
secondary
#C47896
accent
#4884E0
background
#F8FCFA
surface
#EFF8F3
border
#CAD1CD
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31AF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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