#31997D#31997D

#31997D is a mid, moderate teal. Relative luminance 0.249; OKLCH L 61.6% C 0.104 H 171.3°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#31997D
RGBrgb(49, 153, 125)
HSLhsl(164, 51%, 40%)
HSVhsv(164, 68%, 60%)
CMYKcmyk(68%, 0%, 18.3%, 40%)
CIE-LABlab(56.99, -36.50, 6.14)
CIE-LCHlch(56.99, 37.01, 170.44°)
OKLaboklab(61.62% -0.1025 0.0157)
OKLCHoklch(61.62% 0.104 171.3)
XYZxyz(16.3577, 24.9143, 23.3449)
Luminance0.2492 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31997D #99314D
analogous
#319949 #31997D #318199
triadic
#31997D #7D3199 #997D31
tetradic
#31997D #493199 #99314D #819931
square
#31997D #493199 #99314D #819931
split-complementary
#31997D #993181 #994931
monochromatic
#133C31 #226B57 #31997D #44C3A1 #72D2B8

Accessibility & contrast

On white

3.51
#31997D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#31997D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31997D
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31997D#FFFFFF#000000##000000
##31997D1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948F7C
Deuteranopia (green-blind)
#86847F
Tritanopia (blue-blind)
#009A91
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #31997d;
/* rgb */ color: rgb(49, 153, 125);
/* oklch */ color: oklch(61.6% 0.104 171.3);
Tailwind
colors: {
  custom: {
    50: '#77b8a2',
    500: '#31997d',
    950: '#000000',
  },
}
SCSS
$custom: #31997d;
$custom-light: #77b8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#31997d",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 125
  },
  "hsl": {
    "h": 163.846,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61622,
    "c": 0.10374,
    "h": 171.3
  },
  "luminance": 0.24916
}

Semantic roles & 50–950 ramp

primary
#31997D
secondary
#BA6C81
accent
#4D73DB
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#0A110F
muted
#7C807E

Preview Lab

Preview with #31997D

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

Preview Lab → · Contrast checker → · Palette generator →

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