#31B27D#31B27D

#31B27D is a light, vivid teal. Relative luminance 0.340; OKLCH L 68.1% C 0.136 H 161.1°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#31B27D
RGBrgb(49, 178, 125)
HSLhsl(155, 57%, 45%)
HSVhsv(155, 72%, 70%)
CMYKcmyk(72.5%, 0%, 29.8%, 30.2%)
CIE-LABlab(64.94, -47.16, 17.32)
CIE-LCHlch(64.94, 50.24, 159.83°)
OKLaboklab(68.14% -0.1287 0.044)
OKLCHoklch(68.14% 0.136 161.1)
XYZxyz(20.8865, 33.9720, 24.8545)
Luminance0.3397 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B27D #B23166
analogous
#31B23D #31B27D #31A7B2
triadic
#31B27D #7D31B2 #B27D31
tetradic
#31B27D #3D31B2 #B23166 #A7B231
square
#31B27D #3D31B2 #B23166 #A7B231
split-complementary
#31B27D #B231A7 #B23D31
monochromatic
#17523A #24825B #31B27D #51CF9B #81DCB7

Accessibility & contrast

On white

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

On black

7.79
#31B27D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B27D
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B27D#FFFFFF#000000##000000
##31B27D1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA57A
Deuteranopia (green-blind)
#9F9980
Tritanopia (blue-blind)
#00B1A4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b27d;
/* rgb */ color: rgb(49, 178, 125);
/* oklch */ color: oklch(68.1% 0.136 161.1);
Tailwind
colors: {
  custom: {
    50: '#7bcaa2',
    500: '#31b27d',
    950: '#000000',
  },
}
SCSS
$custom: #31b27d;
$custom-light: #7bcaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#31b27d",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 125
  },
  "hsl": {
    "h": 155.349,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68137,
    "c": 0.13599,
    "h": 161.1
  },
  "luminance": 0.33974
}

Semantic roles & 50–950 ramp

primary
#31B27D
secondary
#C57999
accent
#4886E0
background
#F8FCFA
surface
#EFF8F3
border
#CAD1CD
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31B27D

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

Preview Lab → · Contrast checker → · Palette generator →

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