#31B498#31B498

#31B498 is a light, moderate teal. Relative luminance 0.356; OKLCH L 69.4% C 0.118 H 174.8°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#31B498
RGBrgb(49, 180, 152)
HSLhsl(167, 57%, 45%)
HSVhsv(167, 73%, 71%)
CMYKcmyk(72.8%, 0%, 15.6%, 29.4%)
CIE-LABlab(66.18, -41.52, 4.25)
CIE-LCHlch(66.18, 41.74, 174.16°)
OKLaboklab(69.36% -0.1178 0.0106)
OKLCHoklch(69.36% 0.118 174.8)
XYZxyz(23.2525, 35.5597, 35.3379)
Luminance0.3556 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B498 #B4314D
analogous
#31B457 #31B498 #318EB4
triadic
#31B498 #9831B4 #B49831
tetradic
#31B498 #5731B4 #B4314D #8EB431
square
#31B498 #5731B4 #B4314D #8EB431
split-complementary
#31B498 #B4318E #B45731
monochromatic
#175447 #24846F #31B498 #52D0B5 #82DDCA

Accessibility & contrast

On white

2.59
#31B498 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#31B498 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B498
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B498#FFFFFF#000000##000000
##31B4981.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA897
Deuteranopia (green-blind)
#9C9C9A
Tritanopia (blue-blind)
#00B6AC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b498;
/* rgb */ color: rgb(49, 180, 152);
/* oklch */ color: oklch(69.4% 0.118 174.8);
Tailwind
colors: {
  custom: {
    50: '#7ccbb6',
    500: '#31b498',
    950: '#000000',
  },
}
SCSS
$custom: #31b498;
$custom-light: #7ccbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#31b498",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 152
  },
  "hsl": {
    "h": 167.176,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69358,
    "c": 0.11826,
    "h": 174.8
  },
  "luminance": 0.35562
}

Semantic roles & 50–950 ramp

primary
#31B498
secondary
#C67B8B
accent
#4768E0
background
#F8FCFB
surface
#EFF9F6
border
#CAD2D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31B498

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

Preview Lab → · Contrast checker → · Palette generator →

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