#31997A#31997A

#31997A is a mid, moderate teal. Relative luminance 0.248; OKLCH L 61.5% C 0.106 H 169.2°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#31997A
RGBrgb(49, 153, 122)
HSLhsl(162, 51%, 40%)
HSVhsv(162, 68%, 60%)
CMYKcmyk(68%, 0%, 20.3%, 40%)
CIE-LABlab(56.92, -37.26, 7.74)
CIE-LCHlch(56.92, 38.05, 168.26°)
OKLaboklab(61.54% -0.104 0.0198)
OKLCHoklch(61.54% 0.106 169.2)
XYZxyz(16.1689, 24.8388, 22.3508)
Luminance0.2484 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31997A #993150
analogous
#319946 #31997A #318499
triadic
#31997A #7A3199 #997A31
tetradic
#31997A #463199 #993150 #849931
square
#31997A #463199 #993150 #849931
split-complementary
#31997A #993184 #994631
monochromatic
#133C30 #226B55 #31997A #44C39D #72D2B5

Accessibility & contrast

On white

3.52
#31997A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#31997A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31997A
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31997A#FFFFFF#000000##000000
##31997A1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958F78
Deuteranopia (green-blind)
#87847C
Tritanopia (blue-blind)
#009A90
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #31997a;
/* rgb */ color: rgb(49, 153, 122);
/* oklch */ color: oklch(61.5% 0.106 169.2);
Tailwind
colors: {
  custom: {
    50: '#76b8a0',
    500: '#31997a',
    950: '#000000',
  },
}
SCSS
$custom: #31997a;
$custom-light: #76b8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#31997a",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 122
  },
  "hsl": {
    "h": 162.115,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61537,
    "c": 0.10588,
    "h": 169.2
  },
  "luminance": 0.24841
}

Semantic roles & 50–950 ramp

primary
#31997A
secondary
#BA6C83
accent
#4D77DB
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#0A110E
muted
#7C807E

Preview Lab

Preview with #31997A

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

Preview Lab → · Contrast checker → · Palette generator →

#31997A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva