#398172#398172

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

Color values

HEX#398172
RGBrgb(57, 129, 114)
HSLhsl(168, 39%, 36%)
HSVhsv(168, 56%, 51%)
CMYKcmyk(55.8%, 0%, 11.6%, 49.4%)
CIE-LABlab(49.23, -26.41, 1.33)
CIE-LCHlch(49.23, 26.44, 177.12°)
OKLaboklab(55.28% -0.0761 0.0031)
OKLCHoklch(55.28% 0.076 177.7)
XYZxyz(12.5735, 17.7841, 18.6864)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398172 #813948
analogous
#39814E #398172 #396C81
triadic
#398172 #723981 #817239
tetradic
#398172 #4E3981 #813948 #6C8139
square
#398172 #4E3981 #813948 #6C8139
split-complementary
#398172 #81396C #814E39
monochromatic
#132C27 #26574C #398172 #4CAB98 #73C1B1

Accessibility & contrast

On white

4.61
#398172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #398172
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398172#FFFFFF#000000##FFFFFF
##3981721.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7A71
Deuteranopia (green-blind)
#717273
Tritanopia (blue-blind)
#0E837C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #398172;
/* rgb */ color: rgb(57, 129, 114);
/* oklch */ color: oklch(55.3% 0.076 177.7);
Tailwind
colors: {
  custom: {
    50: '#76a69a',
    500: '#398172',
    950: '#000000',
  },
}
SCSS
$custom: #398172;
$custom-light: #76a69a;
$custom-dark: #000000;
JSON
{
  "hex": "#398172",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 114
  },
  "hsl": {
    "h": 167.5,
    "s": 38.71,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55275,
    "c": 0.07619,
    "h": 177.7
  },
  "luminance": 0.17785
}

Semantic roles & 50–950 ramp

primary
#398172
secondary
#AA6B79
accent
#5972CF
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #398172

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

Preview Lab → · Contrast checker → · Palette generator →

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