#31AF7B#31AF7B

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

Color values

HEX#31AF7B
RGBrgb(49, 175, 123)
HSLhsl(155, 56%, 44%)
HSVhsv(155, 72%, 69%)
CMYKcmyk(72%, 0%, 29.7%, 31.4%)
CIE-LABlab(63.95, -46.38, 17.05)
CIE-LCHlch(63.95, 49.41, 159.82°)
OKLaboklab(67.31% -0.1266 0.0433)
OKLCHoklch(67.31% 0.134 161.1)
XYZxyz(20.1697, 32.7407, 23.9916)
Luminance0.3274 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF7B #AF3165
analogous
#31AF3C #31AF7B #31A4AF
triadic
#31AF7B #7B31AF #AF7B31
tetradic
#31AF7B #3C31AF #AF3165 #A4AF31
square
#31AF7B #3C31AF #AF3165 #A4AF31
split-complementary
#31AF7B #AF31A4 #AF3C31
monochromatic
#164F38 #247F59 #31AF7B #4FCE9A #7FDBB5

Accessibility & contrast

On white

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

On black

7.55
#31AF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF7B
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF7B#FFFFFF#000000##000000
##31AF7B1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31af7b;
/* rgb */ color: rgb(49, 175, 123);
/* oklch */ color: oklch(67.3% 0.134 161.1);
Tailwind
colors: {
  custom: {
    50: '#7bc8a1',
    500: '#31af7b',
    950: '#000000',
  },
}
SCSS
$custom: #31af7b;
$custom-light: #7bc8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31af7b",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 123
  },
  "hsl": {
    "h": 155.238,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.6731,
    "c": 0.13378,
    "h": 161.1
  },
  "luminance": 0.32743
}

Semantic roles & 50–950 ramp

primary
#31AF7B
secondary
#C47897
accent
#4887E0
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130F
muted
#7C827E

Preview Lab

Preview with #31AF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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