#31B27E#31B27E

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

Color values

HEX#31B27E
RGBrgb(49, 178, 126)
HSLhsl(156, 57%, 45%)
HSVhsv(156, 72%, 70%)
CMYKcmyk(72.5%, 0%, 29.2%, 30.2%)
CIE-LABlab(64.96, -46.93, 16.81)
CIE-LCHlch(64.96, 49.85, 160.30°)
OKLaboklab(68.16% -0.1282 0.0427)
OKLCHoklch(68.16% 0.135 161.6)
XYZxyz(20.9507, 33.9977, 25.1927)
Luminance0.3400 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B27E #B23165
analogous
#31B23E #31B27E #31A6B2
triadic
#31B27E #7E31B2 #B27E31
tetradic
#31B27E #3E31B2 #B23165 #A6B231
square
#31B27E #3E31B2 #B23165 #A6B231
split-complementary
#31B27E #B231A6 #B23E31
monochromatic
#17523A #24825C #31B27E #51CF9C #81DCB8

Accessibility & contrast

On white

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

On black

7.80
#31B27E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B27E
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B27E#FFFFFF#000000##000000
##31B27E1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b27e;
/* rgb */ color: rgb(49, 178, 126);
/* oklch */ color: oklch(68.2% 0.135 161.6);
Tailwind
colors: {
  custom: {
    50: '#7bcaa3',
    500: '#31b27e',
    950: '#000000',
  },
}
SCSS
$custom: #31b27e;
$custom-light: #7bcaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#31b27e",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 126
  },
  "hsl": {
    "h": 155.814,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68161,
    "c": 0.13512,
    "h": 161.6
  },
  "luminance": 0.34
}

Semantic roles & 50–950 ramp

primary
#31B27E
secondary
#C57998
accent
#4885E0
background
#F8FCFA
surface
#EFF8F3
border
#CAD1CD
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31B27E

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

Preview Lab → · Contrast checker → · Palette generator →

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