#155B42#155B42

#155B42 is a dark, moderate teal. Relative luminance 0.080; OKLCH L 42.2% C 0.080 H 164.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#155B42
RGBrgb(21, 91, 66)
HSLhsl(159, 63%, 22%)
HSVhsv(159, 77%, 36%)
CMYKcmyk(76.9%, 0%, 27.5%, 64.3%)
CIE-LABlab(34.05, -27.99, 8.38)
CIE-LCHlch(34.05, 29.22, 163.33°)
OKLaboklab(42.17% -0.077 0.0214)
OKLCHoklch(42.17% 0.08 164.5)
XYZxyz(5.0332, 8.0344, 6.4387)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155B42 #5B152E
analogous
#155B1F #155B42 #15515B
triadic
#155B42 #42155B #5B4215
tetradic
#155B42 #1F155B #5B152E #515B15
square
#155B42 #1F155B #5B152E #515B15
split-complementary
#155B42 #5B1551 #5B1F15
monochromatic
#061912 #0A291E #155B42 #208D66 #2CBE8A

Accessibility & contrast

On white

8.06
#155B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#155B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155B42
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155B42#FFFFFF#000000##FFFFFF
##155B421.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595441
Deuteranopia (green-blind)
#504D44
Tritanopia (blue-blind)
#005B54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #155b42;
/* rgb */ color: rgb(21, 91, 66);
/* oklch */ color: oklch(42.2% 0.080 164.5);
Tailwind
colors: {
  custom: {
    50: '#5e8a76',
    500: '#155b42',
    950: '#000000',
  },
}
SCSS
$custom: #155b42;
$custom-light: #5e8a76;
$custom-dark: #000000;
JSON
{
  "hex": "#155b42",
  "rgb": {
    "r": 21,
    "g": 91,
    "b": 66
  },
  "hsl": {
    "h": 158.571,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42169,
    "c": 0.07991,
    "h": 164.5
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#155B42
secondary
#923959
accent
#427DE6
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #155B42

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

Preview Lab → · Contrast checker → · Palette generator →

#155B42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva