#31B488#31B488

#31B488 is a light, vivid teal. Relative luminance 0.351; OKLCH L 68.9% C 0.129 H 165.7°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#31B488
RGBrgb(49, 180, 136)
HSLhsl(160, 57%, 45%)
HSVhsv(160, 73%, 71%)
CMYKcmyk(72.8%, 0%, 24.4%, 29.4%)
CIE-LABlab(65.80, -45.47, 12.52)
CIE-LCHlch(65.80, 47.16, 164.61°)
OKLaboklab(68.92% -0.1254 0.032)
OKLCHoklch(68.92% 0.129 165.7)
XYZxyz(22.0294, 35.0705, 28.8960)
Luminance0.3507 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B488 #B4315D
analogous
#31B446 #31B488 #319FB4
triadic
#31B488 #8831B4 #B48831
tetradic
#31B488 #4631B4 #B4315D #9FB431
square
#31B488 #4631B4 #B4315D #9FB431
split-complementary
#31B488 #B4319F #B44631
monochromatic
#17543F #248464 #31B488 #52D0A6 #82DDBF

Accessibility & contrast

On white

2.62
#31B488 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#31B488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B488
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B488#FFFFFF#000000##000000
##31B4881.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A786
Deuteranopia (green-blind)
#9F9B8B
Tritanopia (blue-blind)
#00B4A8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b488;
/* rgb */ color: rgb(49, 180, 136);
/* oklch */ color: oklch(68.9% 0.129 165.7);
Tailwind
colors: {
  custom: {
    50: '#7ccbaa',
    500: '#31b488',
    950: '#000000',
  },
}
SCSS
$custom: #31b488;
$custom-light: #7ccbaa;
$custom-dark: #000000;
JSON
{
  "hex": "#31b488",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 136
  },
  "hsl": {
    "h": 159.847,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68923,
    "c": 0.12943,
    "h": 165.7
  },
  "luminance": 0.35073
}

Semantic roles & 50–950 ramp

primary
#31B488
secondary
#C67B94
accent
#477BE0
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B488

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

Preview Lab → · Contrast checker → · Palette generator →

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