#398971#398971

#398971 is a mid, moderate teal. Relative luminance 0.200; OKLCH L 57.3% C 0.087 H 170.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#398971
RGBrgb(57, 137, 113)
HSLhsl(162, 41%, 38%)
HSVhsv(162, 58%, 54%)
CMYKcmyk(58.4%, 0%, 17.5%, 46.3%)
CIE-LABlab(51.78, -30.57, 5.59)
CIE-LCHlch(51.78, 31.08, 169.64°)
OKLaboklab(57.34% -0.0861 0.0143)
OKLCHoklch(57.34% 0.087 170.6)
XYZxyz(13.6122, 19.9521, 18.7534)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398971 #893951
analogous
#398949 #398971 #397989
triadic
#398971 #713989 #897139
tetradic
#398971 #493989 #893951 #798939
square
#398971 #493989 #893951 #798939
split-complementary
#398971 #893979 #894939
monochromatic
#15332A #275E4D #398971 #4BB495 #76C6AE

Accessibility & contrast

On white

4.21
#398971 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#398971 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398971
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398971#FFFFFF#000000##000000
##3989711.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#858170
Deuteranopia (green-blind)
#797873
Tritanopia (blue-blind)
#098A82
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398971;
/* rgb */ color: rgb(57, 137, 113);
/* oklch */ color: oklch(57.3% 0.087 170.6);
Tailwind
colors: {
  custom: {
    50: '#77ac99',
    500: '#398971',
    950: '#000000',
  },
}
SCSS
$custom: #398971;
$custom-light: #77ac99;
$custom-dark: #000000;
JSON
{
  "hex": "#398971",
  "rgb": {
    "r": 57,
    "g": 137,
    "b": 113
  },
  "hsl": {
    "h": 162,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.57338,
    "c": 0.08725,
    "h": 170.6
  },
  "luminance": 0.19953
}

Semantic roles & 50–950 ramp

primary
#398971
secondary
#AF6F82
accent
#577BD1
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #398971

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

Preview Lab → · Contrast checker → · Palette generator →

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