#398979#398979

#398979 is a mid, moderate teal. Relative luminance 0.201; OKLCH L 57.6% C 0.082 H 178.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#398979
RGBrgb(57, 137, 121)
HSLhsl(168, 41%, 38%)
HSVhsv(168, 58%, 54%)
CMYKcmyk(58.4%, 0%, 11.7%, 46.3%)
CIE-LABlab(52.00, -28.51, 1.26)
CIE-LCHlch(52.00, 28.54, 177.47°)
OKLaboklab(57.58% -0.0822 0.0029)
OKLCHoklch(57.58% 0.082 178)
XYZxyz(14.0826, 20.1403, 21.2308)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398979 #893949
analogous
#398951 #398979 #397189
triadic
#398979 #793989 #897939
tetradic
#398979 #513989 #893949 #718939
square
#398979 #513989 #893949 #718939
split-complementary
#398979 #893971 #895139
monochromatic
#15332D #275E53 #398979 #4BB49F #76C6B6

Accessibility & contrast

On white

4.18
#398979 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#398979 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398979
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398979#FFFFFF#000000##000000
##3989791.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#848178
Deuteranopia (green-blind)
#78787A
Tritanopia (blue-blind)
#008B84
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398979;
/* rgb */ color: rgb(57, 137, 121);
/* oklch */ color: oklch(57.6% 0.082 178.0);
Tailwind
colors: {
  custom: {
    50: '#78ac9f',
    500: '#398979',
    950: '#000000',
  },
}
SCSS
$custom: #398979;
$custom-light: #78ac9f;
$custom-dark: #000000;
JSON
{
  "hex": "#398979",
  "rgb": {
    "r": 57,
    "g": 137,
    "b": 121
  },
  "hsl": {
    "h": 168,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.57581,
    "c": 0.08223,
    "h": 178
  },
  "luminance": 0.20142
}

Semantic roles & 50–950 ramp

primary
#398979
secondary
#AF6F7B
accent
#576FD1
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #398979

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

Preview Lab → · Contrast checker → · Palette generator →

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