#398872#398872

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

Color values

HEX#398872
RGBrgb(57, 136, 114)
HSLhsl(163, 41%, 38%)
HSVhsv(163, 58%, 53%)
CMYKcmyk(58.1%, 0%, 16.2%, 46.7%)
CIE-LABlab(51.49, -29.84, 4.59)
CIE-LCHlch(51.49, 30.19, 171.26°)
OKLaboklab(57.11% -0.0844 0.0117)
OKLCHoklch(57.11% 0.085 172.1)
XYZxyz(13.5274, 19.6918, 19.0043)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398872 #88394F
analogous
#39884A #398872 #397688
triadic
#398872 #723988 #887239
tetradic
#398872 #4A3988 #88394F #768839
square
#398872 #4A3988 #88394F #768839
split-complementary
#398872 #883976 #884A39
monochromatic
#15322A #275D4E #398872 #4BB396 #76C6AF

Accessibility & contrast

On white

4.25
#398872 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#398872 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398872
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398872#FFFFFF#000000##000000
##3988721.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#848071
Deuteranopia (green-blind)
#787774
Tritanopia (blue-blind)
#088982
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398872;
/* rgb */ color: rgb(57, 136, 114);
/* oklch */ color: oklch(57.1% 0.085 172.1);
Tailwind
colors: {
  custom: {
    50: '#77ab9a',
    500: '#398872',
    950: '#000000',
  },
}
SCSS
$custom: #398872;
$custom-light: #77ab9a;
$custom-dark: #000000;
JSON
{
  "hex": "#398872",
  "rgb": {
    "r": 57,
    "g": 136,
    "b": 114
  },
  "hsl": {
    "h": 163.291,
    "s": 40.933,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57106,
    "c": 0.08521,
    "h": 172.1
  },
  "luminance": 0.19693
}

Semantic roles & 50–950 ramp

primary
#398872
secondary
#AF6E80
accent
#5779D1
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #398872

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

Preview Lab → · Contrast checker → · Palette generator →

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