#398871#398871

#398871 is a mid, moderate teal. Relative luminance 0.197; OKLCH L 57.1% C 0.086 H 171.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#398871
RGBrgb(57, 136, 113)
HSLhsl(163, 41%, 38%)
HSVhsv(163, 58%, 53%)
CMYKcmyk(58.1%, 0%, 16.9%, 46.7%)
CIE-LABlab(51.46, -30.09, 5.13)
CIE-LCHlch(51.46, 30.53, 170.33°)
OKLaboklab(57.08% -0.0849 0.0131)
OKLCHoklch(57.08% 0.086 171.2)
XYZxyz(13.4707, 19.6691, 18.7062)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398871 #883950
analogous
#398849 #398871 #397788
triadic
#398871 #713988 #887139
tetradic
#398871 #493988 #883950 #778839
square
#398871 #493988 #883950 #778839
split-complementary
#398871 #883977 #884939
monochromatic
#153229 #275D4D #398871 #4BB395 #76C6AE

Accessibility & contrast

On white

4.26
#398871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#398871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398871
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398871#FFFFFF#000000##000000
##3988711.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#848070
Deuteranopia (green-blind)
#787773
Tritanopia (blue-blind)
#0A8981
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398871;
/* rgb */ color: rgb(57, 136, 113);
/* oklch */ color: oklch(57.1% 0.086 171.2);
Tailwind
colors: {
  custom: {
    50: '#77ab99',
    500: '#398871',
    950: '#000000',
  },
}
SCSS
$custom: #398871;
$custom-light: #77ab99;
$custom-dark: #000000;
JSON
{
  "hex": "#398871",
  "rgb": {
    "r": 57,
    "g": 136,
    "b": 113
  },
  "hsl": {
    "h": 162.532,
    "s": 40.933,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57076,
    "c": 0.0859,
    "h": 171.2
  },
  "luminance": 0.1967
}

Semantic roles & 50–950 ramp

primary
#398871
secondary
#AF6E81
accent
#577AD1
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #398871

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

Preview Lab → · Contrast checker → · Palette generator →

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