#31AF7F#31AF7F

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

Color values

HEX#31AF7F
RGBrgb(49, 175, 127)
HSLhsl(157, 56%, 44%)
HSVhsv(157, 72%, 69%)
CMYKcmyk(72%, 0%, 27.4%, 31.4%)
CIE-LABlab(64.03, -45.48, 14.97)
CIE-LCHlch(64.03, 47.88, 161.78°)
OKLaboklab(67.41% -0.1247 0.0382)
OKLCHoklch(67.41% 0.13 163)
XYZxyz(20.4252, 32.8429, 25.3374)
Luminance0.3285 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF7F #AF3161
analogous
#31AF40 #31AF7F #31A0AF
triadic
#31AF7F #7F31AF #AF7F31
tetradic
#31AF7F #4031AF #AF3161 #A0AF31
square
#31AF7F #4031AF #AF3161 #A0AF31
split-complementary
#31AF7F #AF31A0 #AF4031
monochromatic
#164F3A #247F5C #31AF7F #4FCE9E #7FDBB8

Accessibility & contrast

On white

2.77
#31AF7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#31AF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF7F
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF7F#FFFFFF#000000##000000
##31AF7F1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31af7f;
/* rgb */ color: rgb(49, 175, 127);
/* oklch */ color: oklch(67.4% 0.130 163.0);
Tailwind
colors: {
  custom: {
    50: '#7bc8a4',
    500: '#31af7f',
    950: '#000000',
  },
}
SCSS
$custom: #31af7f;
$custom-light: #7bc8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#31af7f",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 127
  },
  "hsl": {
    "h": 157.143,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67406,
    "c": 0.13037,
    "h": 163
  },
  "luminance": 0.32845
}

Semantic roles & 50–950 ramp

primary
#31AF7F
secondary
#C47895
accent
#4882E0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31AF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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