#31AF72#31AF72

#31AF72 is a light, vivid teal. Relative luminance 0.325; OKLCH L 67.1% C 0.142 H 157.3°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#31AF72
RGBrgb(49, 175, 114)
HSLhsl(151, 56%, 44%)
HSVhsv(151, 72%, 69%)
CMYKcmyk(72%, 0%, 34.9%, 31.4%)
CIE-LABlab(63.77, -48.30, 21.70)
CIE-LCHlch(63.77, 52.95, 155.81°)
OKLaboklab(67.11% -0.1309 0.0546)
OKLCHoklch(67.11% 0.142 157.3)
XYZxyz(19.6320, 32.5256, 21.1597)
Luminance0.3253 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF72 #AF316E
analogous
#31AF33 #31AF72 #31ADAF
triadic
#31AF72 #7231AF #AF7231
tetradic
#31AF72 #3331AF #AF316E #ADAF31
square
#31AF72 #3331AF #AF316E #ADAF31
split-complementary
#31AF72 #AF31AD #AF3331
monochromatic
#164F34 #247F53 #31AF72 #4FCE91 #7FDBAF

Accessibility & contrast

On white

2.80
#31AF72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#31AF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF72
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF72#FFFFFF#000000##000000
##31AF721.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA16E
Deuteranopia (green-blind)
#9E9676
Tritanopia (blue-blind)
#00AE9F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31af72;
/* rgb */ color: rgb(49, 175, 114);
/* oklch */ color: oklch(67.1% 0.142 157.3);
Tailwind
colors: {
  custom: {
    50: '#7ac89b',
    500: '#31af72',
    950: '#000000',
  },
}
SCSS
$custom: #31af72;
$custom-light: #7ac89b;
$custom-dark: #000000;
JSON
{
  "hex": "#31af72",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 114
  },
  "hsl": {
    "h": 150.952,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67108,
    "c": 0.14182,
    "h": 157.3
  },
  "luminance": 0.32528
}

Semantic roles & 50–950 ramp

primary
#31AF72
secondary
#C4789D
accent
#4891E0
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31AF72

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

Preview Lab → · Contrast checker → · Palette generator →

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