#398173#398173

#398173 is a mid, moderate teal. Relative luminance 0.178; OKLCH L 55.3% C 0.076 H 178.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#398173
RGBrgb(57, 129, 115)
HSLhsl(168, 39%, 36%)
HSVhsv(168, 56%, 51%)
CMYKcmyk(55.8%, 0%, 10.9%, 49.4%)
CIE-LABlab(49.26, -26.15, 0.78)
CIE-LCHlch(49.26, 26.16, 178.29°)
OKLaboklab(55.31% -0.0756 0.0017)
OKLCHoklch(55.31% 0.076 178.7)
XYZxyz(12.6307, 17.8070, 18.9878)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398173 #813947
analogous
#39814F #398173 #396B81
triadic
#398173 #733981 #817339
tetradic
#398173 #4F3981 #813947 #6B8139
square
#398173 #4F3981 #813947 #6B8139
split-complementary
#398173 #81396B #814F39
monochromatic
#132C27 #26574D #398173 #4CAB99 #73C1B2

Accessibility & contrast

On white

4.60
#398173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#398173 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #398173
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398173#FFFFFF#000000##FFFFFF
##3981731.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7A72
Deuteranopia (green-blind)
#717274
Tritanopia (blue-blind)
#0D837D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #398173;
/* rgb */ color: rgb(57, 129, 115);
/* oklch */ color: oklch(55.3% 0.076 178.7);
Tailwind
colors: {
  custom: {
    50: '#76a69b',
    500: '#398173',
    950: '#000000',
  },
}
SCSS
$custom: #398173;
$custom-light: #76a69b;
$custom-dark: #000000;
JSON
{
  "hex": "#398173",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 115
  },
  "hsl": {
    "h": 168.333,
    "s": 38.71,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55307,
    "c": 0.07567,
    "h": 178.7
  },
  "luminance": 0.17808
}

Semantic roles & 50–950 ramp

primary
#398173
secondary
#AA6B78
accent
#5970CF
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #398173

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

Preview Lab → · Contrast checker → · Palette generator →

#398173 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva