#31B28B#31B28B

#31B28B is a light, vivid teal. Relative luminance 0.344; OKLCH L 68.5% C 0.125 H 168.1°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#31B28B
RGBrgb(49, 178, 139)
HSLhsl(162, 57%, 45%)
HSVhsv(162, 72%, 70%)
CMYKcmyk(72.5%, 0%, 21.9%, 30.2%)
CIE-LABlab(65.24, -43.92, 10.08)
CIE-LCHlch(65.24, 45.06, 167.08°)
OKLaboklab(68.49% -0.1219 0.0258)
OKLCHoklch(68.49% 0.125 168.1)
XYZxyz(21.8447, 34.3553, 29.9010)
Luminance0.3436 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B28B #B23158
analogous
#31B24A #31B28B #3199B2
triadic
#31B28B #8B31B2 #B28B31
tetradic
#31B28B #4A31B2 #B23158 #99B231
square
#31B28B #4A31B2 #B23158 #99B231
split-complementary
#31B28B #B23199 #B24A31
monochromatic
#175240 #248266 #31B28B #51CFA9 #81DCC1

Accessibility & contrast

On white

2.67
#31B28B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#31B28B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B28B
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B28B#FFFFFF#000000##000000
##31B28B1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA689
Deuteranopia (green-blind)
#9D998E
Tritanopia (blue-blind)
#00B3A7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b28b;
/* rgb */ color: rgb(49, 178, 139);
/* oklch */ color: oklch(68.5% 0.125 168.1);
Tailwind
colors: {
  custom: {
    50: '#7ccaac',
    500: '#31b28b',
    950: '#000000',
  },
}
SCSS
$custom: #31b28b;
$custom-light: #7ccaac;
$custom-dark: #000000;
JSON
{
  "hex": "#31b28b",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 139
  },
  "hsl": {
    "h": 161.86,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68486,
    "c": 0.12464,
    "h": 168.1
  },
  "luminance": 0.34358
}

Semantic roles & 50–950 ramp

primary
#31B28B
secondary
#C57990
accent
#4876E0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B28B

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

Preview Lab → · Contrast checker → · Palette generator →

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