#31997E#31997E

#31997E is a mid, moderate teal. Relative luminance 0.249; OKLCH L 61.7% C 0.103 H 172.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#31997E
RGBrgb(49, 153, 126)
HSLhsl(164, 51%, 40%)
HSVhsv(164, 68%, 60%)
CMYKcmyk(68%, 0%, 17.6%, 40%)
CIE-LABlab(57.02, -36.25, 5.61)
CIE-LCHlch(57.02, 36.68, 171.20°)
OKLaboklab(61.65% -0.1021 0.0143)
OKLCHoklch(61.65% 0.103 172)
XYZxyz(16.4219, 24.9400, 23.6831)
Luminance0.2494 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31997E #99314C
analogous
#31994A #31997E #318099
triadic
#31997E #7E3199 #997E31
tetradic
#31997E #4A3199 #99314C #809931
square
#31997E #4A3199 #99314C #809931
split-complementary
#31997E #993180 #994A31
monochromatic
#133C32 #226B58 #31997E #44C3A2 #72D2B9

Accessibility & contrast

On white

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

On black

5.99
#31997E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31997E
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31997E#FFFFFF#000000##000000
##31997E1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948F7D
Deuteranopia (green-blind)
#868580
Tritanopia (blue-blind)
#009A91
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #31997e;
/* rgb */ color: rgb(49, 153, 126);
/* oklch */ color: oklch(61.7% 0.103 172.0);
Tailwind
colors: {
  custom: {
    50: '#77b8a3',
    500: '#31997e',
    950: '#000000',
  },
}
SCSS
$custom: #31997e;
$custom-light: #77b8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#31997e",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 126
  },
  "hsl": {
    "h": 164.423,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61651,
    "c": 0.10305,
    "h": 172
  },
  "luminance": 0.24942
}

Semantic roles & 50–950 ramp

primary
#31997E
secondary
#BA6C80
accent
#4D72DB
background
#F7FBFA
surface
#EEF6F3
border
#C9D0CD
text
#0A110F
muted
#7C807F

Preview Lab

Preview with #31997E

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

Preview Lab → · Contrast checker → · Palette generator →

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