#398878#398878

#398878 is a mid, moderate teal. Relative luminance 0.198; OKLCH L 57.3% C 0.082 H 177.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#398878
RGBrgb(57, 136, 120)
HSLhsl(168, 41%, 38%)
HSVhsv(168, 58%, 53%)
CMYKcmyk(58.1%, 0%, 11.8%, 46.7%)
CIE-LABlab(51.65, -28.28, 1.33)
CIE-LCHlch(51.65, 28.31, 177.30°)
OKLaboklab(57.29% -0.0815 0.0031)
OKLCHoklch(57.29% 0.082 177.8)
XYZxyz(13.8801, 19.8329, 20.8623)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398878 #883949
analogous
#398850 #398878 #397088
triadic
#398878 #783988 #887839
tetradic
#398878 #503988 #883949 #708839
square
#398878 #503988 #883949 #708839
split-complementary
#398878 #883970 #885039
monochromatic
#15322C #275D52 #398878 #4BB39E #76C6B5

Accessibility & contrast

On white

4.23
#398878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#398878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398878
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398878#FFFFFF#000000##000000
##3988781.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#838077
Deuteranopia (green-blind)
#777779
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398878;
/* rgb */ color: rgb(57, 136, 120);
/* oklch */ color: oklch(57.3% 0.082 177.8);
Tailwind
colors: {
  custom: {
    50: '#77ab9e',
    500: '#398878',
    950: '#000000',
  },
}
SCSS
$custom: #398878;
$custom-light: #77ab9e;
$custom-dark: #000000;
JSON
{
  "hex": "#398878",
  "rgb": {
    "r": 57,
    "g": 136,
    "b": 120
  },
  "hsl": {
    "h": 167.848,
    "s": 40.933,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5729,
    "c": 0.08156,
    "h": 177.8
  },
  "luminance": 0.19834
}

Semantic roles & 50–950 ramp

primary
#398878
secondary
#AF6E7B
accent
#5770D1
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #398878

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

Preview Lab → · Contrast checker → · Palette generator →

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