#398F78#398F78

#398F78 is a mid, moderate teal. Relative luminance 0.219; OKLCH L 59.1% C 0.090 H 172.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#398F78
RGBrgb(57, 143, 120)
HSLhsl(164, 43%, 39%)
HSVhsv(164, 60%, 56%)
CMYKcmyk(60.1%, 0%, 16.1%, 43.9%)
CIE-LABlab(53.89, -31.65, 4.57)
CIE-LCHlch(53.89, 31.98, 171.78°)
OKLaboklab(59.11% -0.0896 0.0116)
OKLCHoklch(59.11% 0.09 172.6)
XYZxyz(14.8984, 21.8694, 21.2017)
Luminance0.2187 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F78 #8F3950
analogous
#398F4D #398F78 #397B8F
triadic
#398F78 #78398F #8F7839
tetradic
#398F78 #4D398F #8F3950 #7B8F39
square
#398F78 #4D398F #8F3950 #7B8F39
split-complementary
#398F78 #8F397B #8F4D39
monochromatic
#16372F #286353 #398F78 #4DB89B #79CAB4

Accessibility & contrast

On white

3.91
#398F78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#398F78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F78
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F78#FFFFFF#000000##000000
##398F781.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8677
Deuteranopia (green-blind)
#7E7D7A
Tritanopia (blue-blind)
#009088
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #398f78;
/* rgb */ color: rgb(57, 143, 120);
/* oklch */ color: oklch(59.1% 0.090 172.6);
Tailwind
colors: {
  custom: {
    50: '#78b09f',
    500: '#398f78',
    950: '#000000',
  },
}
SCSS
$custom: #398f78;
$custom-light: #78b09f;
$custom-dark: #000000;
JSON
{
  "hex": "#398f78",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 120
  },
  "hsl": {
    "h": 163.953,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.59111,
    "c": 0.09033,
    "h": 172.6
  },
  "luminance": 0.21871
}

Semantic roles & 50–950 ramp

primary
#398F78
secondary
#B37183
accent
#5577D3
background
#F7FAF9
surface
#EEF5F2
border
#C9CFCC
text
#0A100E
muted
#7C7F7E

Preview Lab

Preview with #398F78

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

Preview Lab → · Contrast checker → · Palette generator →

#398F78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva