#398771#398771

#398771 is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.8% C 0.085 H 171.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#398771
RGBrgb(57, 135, 113)
HSLhsl(163, 41%, 38%)
HSVhsv(163, 58%, 53%)
CMYKcmyk(57.8%, 0%, 16.3%, 47.1%)
CIE-LABlab(51.14, -29.61, 4.67)
CIE-LCHlch(51.14, 29.98, 171.04°)
OKLaboklab(56.81% -0.0837 0.0119)
OKLCHoklch(56.81% 0.085 171.9)
XYZxyz(13.3306, 19.3888, 18.6595)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398771 #87394F
analogous
#39874A #398771 #397687
triadic
#398771 #713987 #877139
tetradic
#398771 #4A3987 #87394F #768739
square
#398771 #4A3987 #87394F #768739
split-complementary
#398771 #873976 #874A39
monochromatic
#153129 #275C4D #398771 #4BB295 #75C5AF

Accessibility & contrast

On white

4.31
#398771 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#398771 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398771
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398771#FFFFFF#000000##000000
##3987711.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#837F70
Deuteranopia (green-blind)
#777673
Tritanopia (blue-blind)
#0B8881
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398771;
/* rgb */ color: rgb(57, 135, 113);
/* oklch */ color: oklch(56.8% 0.085 171.9);
Tailwind
colors: {
  custom: {
    50: '#77aa99',
    500: '#398771',
    950: '#000000',
  },
}
SCSS
$custom: #398771;
$custom-light: #77aa99;
$custom-dark: #000000;
JSON
{
  "hex": "#398771",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 113
  },
  "hsl": {
    "h": 163.077,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.56814,
    "c": 0.08457,
    "h": 171.9
  },
  "luminance": 0.1939
}

Semantic roles & 50–950 ramp

primary
#398771
secondary
#AE6E80
accent
#5779D0
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #398771

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

Preview Lab → · Contrast checker → · Palette generator →

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