#31AF91#31AF91

#31AF91 is a light, moderate teal. Relative luminance 0.334; OKLCH L 67.9% C 0.117 H 173.0°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#31AF91
RGBrgb(49, 175, 145)
HSLhsl(166, 56%, 44%)
HSVhsv(166, 72%, 69%)
CMYKcmyk(72%, 0%, 17.1%, 31.4%)
CIE-LABlab(64.45, -41.14, 5.62)
CIE-LCHlch(64.45, 41.52, 172.22°)
OKLaboklab(67.88% -0.116 0.0142)
OKLCHoklch(67.88% 0.117 173)
XYZxyz(21.7048, 33.3547, 32.0768)
Luminance0.3336 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF91 #AF314F
analogous
#31AF52 #31AF91 #318EAF
triadic
#31AF91 #9131AF #AF9131
tetradic
#31AF91 #5231AF #AF314F #8EAF31
square
#31AF91 #5231AF #AF314F #8EAF31
split-complementary
#31AF91 #AF318E #AF5231
monochromatic
#164F42 #247F69 #31AF91 #4FCEB0 #7FDBC5

Accessibility & contrast

On white

2.74
#31AF91 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#31AF91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF91
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF91#FFFFFF#000000##000000
##31AF911.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A390
Deuteranopia (green-blind)
#989793
Tritanopia (blue-blind)
#00B1A6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31af91;
/* rgb */ color: rgb(49, 175, 145);
/* oklch */ color: oklch(67.9% 0.117 173.0);
Tailwind
colors: {
  custom: {
    50: '#7bc7b1',
    500: '#31af91',
    950: '#000000',
  },
}
SCSS
$custom: #31af91;
$custom-light: #7bc7b1;
$custom-dark: #000000;
JSON
{
  "hex": "#31af91",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 145
  },
  "hsl": {
    "h": 165.714,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67882,
    "c": 0.11688,
    "h": 173
  },
  "luminance": 0.33357
}

Semantic roles & 50–950 ramp

primary
#31AF91
secondary
#C4788A
accent
#486CE0
background
#F8FCFA
surface
#EFF8F5
border
#CAD1CF
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31AF91

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

Preview Lab → · Contrast checker → · Palette generator →

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