#31998C#31998C

#31998C is a light, moderate teal. Relative luminance 0.253; OKLCH L 62.1% C 0.095 H 183.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#31998C
RGBrgb(49, 153, 140)
HSLhsl(173, 51%, 40%)
HSVhsv(173, 68%, 60%)
CMYKcmyk(68%, 0%, 8.5%, 40%)
CIE-LABlab(57.39, -32.50, -1.81)
CIE-LCHlch(57.39, 32.55, 183.19°)
OKLaboklab(62.08% -0.0953 -0.0054)
OKLCHoklch(62.08% 0.095 183.2)
XYZxyz(17.3893, 25.3269, 28.7780)
Luminance0.2533 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31998C #99313E
analogous
#319958 #31998C #317299
triadic
#31998C #8C3199 #998C31
tetradic
#31998C #583199 #99313E #729931
square
#31998C #583199 #99313E #729931
split-complementary
#31998C #993172 #995831
monochromatic
#133C37 #226B62 #31998C #44C3B3 #72D2C6

Accessibility & contrast

On white

3.46
#31998C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#31998C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31998C
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31998C#FFFFFF#000000##000000
##31998C1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92908C
Deuteranopia (green-blind)
#83858D
Tritanopia (blue-blind)
#009C95
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #31998c;
/* rgb */ color: rgb(49, 153, 140);
/* oklch */ color: oklch(62.1% 0.095 183.2);
Tailwind
colors: {
  custom: {
    50: '#77b7ad',
    500: '#31998c',
    950: '#000000',
  },
}
SCSS
$custom: #31998c;
$custom-light: #77b7ad;
$custom-dark: #000000;
JSON
{
  "hex": "#31998c",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 140
  },
  "hsl": {
    "h": 172.5,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62082,
    "c": 0.09548,
    "h": 183.2
  },
  "luminance": 0.25329
}

Semantic roles & 50–950 ramp

primary
#31998C
secondary
#BA6C76
accent
#4D5FDB
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #31998C

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

Preview Lab → · Contrast checker → · Palette generator →

#31998C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva