#31B27F#31B27F

#31B27F is a light, vivid teal. Relative luminance 0.340; OKLCH L 68.2% C 0.134 H 162.0°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#31B27F
RGBrgb(49, 178, 127)
HSLhsl(156, 57%, 45%)
HSVhsv(156, 72%, 70%)
CMYKcmyk(72.5%, 0%, 28.7%, 30.2%)
CIE-LABlab(64.98, -46.71, 16.29)
CIE-LCHlch(64.98, 49.47, 160.78°)
OKLaboklab(68.18% -0.1277 0.0414)
OKLCHoklch(68.18% 0.134 162)
XYZxyz(21.0156, 34.0236, 25.5342)
Luminance0.3403 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B27F #B23164
analogous
#31B23F #31B27F #31A5B2
triadic
#31B27F #7F31B2 #B27F31
tetradic
#31B27F #3F31B2 #B23164 #A5B231
square
#31B27F #3F31B2 #B23164 #A5B231
split-complementary
#31B27F #B231A5 #B23F31
monochromatic
#17523B #24825D #31B27F #51CF9D #81DCB8

Accessibility & contrast

On white

2.69
#31B27F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#31B27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B27F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B27F#FFFFFF#000000##000000
##31B27F1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA57C
Deuteranopia (green-blind)
#9F9982
Tritanopia (blue-blind)
#00B2A4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b27f;
/* rgb */ color: rgb(49, 178, 127);
/* oklch */ color: oklch(68.2% 0.134 162.0);
Tailwind
colors: {
  custom: {
    50: '#7bcaa4',
    500: '#31b27f',
    950: '#000000',
  },
}
SCSS
$custom: #31b27f;
$custom-light: #7bcaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#31b27f",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 127
  },
  "hsl": {
    "h": 156.279,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68184,
    "c": 0.13427,
    "h": 162
  },
  "luminance": 0.34026
}

Semantic roles & 50–950 ramp

primary
#31B27F
secondary
#C57997
accent
#4884E0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31B27F

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

Preview Lab → · Contrast checker → · Palette generator →

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