#398D79#398D79

#398D79 is a mid, moderate teal. Relative luminance 0.213; OKLCH L 58.6% C 0.087 H 174.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#398D79
RGBrgb(57, 141, 121)
HSLhsl(166, 42%, 39%)
HSVhsv(166, 60%, 55%)
CMYKcmyk(59.6%, 0%, 14.2%, 44.7%)
CIE-LABlab(53.27, -30.44, 3.11)
CIE-LCHlch(53.27, 30.60, 174.16°)
OKLaboklab(58.62% -0.0868 0.0078)
OKLCHoklch(58.62% 0.087 174.9)
XYZxyz(14.6618, 21.2986, 21.4238)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D79 #8D394D
analogous
#398D4F #398D79 #39778D
triadic
#398D79 #79398D #8D7939
tetradic
#398D79 #4F398D #8D394D #778D39
square
#398D79 #4F398D #8D394D #778D39
split-complementary
#398D79 #8D3977 #8D4F39
monochromatic
#16362E #276154 #398D79 #4CB79D #78C8B5

Accessibility & contrast

On white

3.99
#398D79 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#398D79 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D79
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D79#FFFFFF#000000##000000
##398D791.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#888578
Deuteranopia (green-blind)
#7C7B7A
Tritanopia (blue-blind)
#008F87
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #398d79;
/* rgb */ color: rgb(57, 141, 121);
/* oklch */ color: oklch(58.6% 0.087 174.9);
Tailwind
colors: {
  custom: {
    50: '#78af9f',
    500: '#398d79',
    950: '#000000',
  },
}
SCSS
$custom: #398d79;
$custom-light: #78af9f;
$custom-dark: #000000;
JSON
{
  "hex": "#398d79",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 121
  },
  "hsl": {
    "h": 165.714,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.58621,
    "c": 0.08715,
    "h": 174.9
  },
  "luminance": 0.213
}

Semantic roles & 50–950 ramp

primary
#398D79
secondary
#B27080
accent
#5673D2
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #398D79

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

Preview Lab → · Contrast checker → · Palette generator →

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