#31AF7C#31AF7C

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

Color values

HEX#31AF7C
RGBrgb(49, 175, 124)
HSLhsl(156, 56%, 44%)
HSVhsv(156, 72%, 69%)
CMYKcmyk(72%, 0%, 29.1%, 31.4%)
CIE-LABlab(63.97, -46.16, 16.53)
CIE-LCHlch(63.97, 49.03, 160.30°)
OKLaboklab(67.33% -0.1261 0.042)
OKLCHoklch(67.33% 0.133 161.6)
XYZxyz(20.2326, 32.7658, 24.3230)
Luminance0.3277 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF7C #AF3164
analogous
#31AF3D #31AF7C #31A3AF
triadic
#31AF7C #7C31AF #AF7C31
tetradic
#31AF7C #3D31AF #AF3164 #A3AF31
square
#31AF7C #3D31AF #AF3164 #A3AF31
split-complementary
#31AF7C #AF31A3 #AF3D31
monochromatic
#164F38 #247F5A #31AF7C #4FCE9B #7FDBB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AF7C#FFFFFF#000000##000000
##31AF7C1.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)
#ACA279
Deuteranopia (green-blind)
#9C967F
Tritanopia (blue-blind)
#00AFA1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31af7c;
/* rgb */ color: rgb(49, 175, 124);
/* oklch */ color: oklch(67.3% 0.133 161.6);
Tailwind
colors: {
  custom: {
    50: '#7bc8a2',
    500: '#31af7c',
    950: '#000000',
  },
}
SCSS
$custom: #31af7c;
$custom-light: #7bc8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#31af7c",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 124
  },
  "hsl": {
    "h": 155.714,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67334,
    "c": 0.13292,
    "h": 161.6
  },
  "luminance": 0.32768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31AF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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