#155F42#155F42

#155F42 is a dark, moderate teal. Relative luminance 0.087; OKLCH L 43.3% C 0.086 H 162.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#155F42
RGBrgb(21, 95, 66)
HSLhsl(156, 64%, 23%)
HSVhsv(156, 78%, 37%)
CMYKcmyk(77.9%, 0%, 30.5%, 62.7%)
CIE-LABlab(35.47, -29.83, 10.36)
CIE-LCHlch(35.47, 31.58, 160.86°)
OKLaboklab(43.33% -0.0815 0.0264)
OKLCHoklch(43.33% 0.086 162.1)
XYZxyz(5.3843, 8.7366, 6.5558)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F42 #5F1532
analogous
#155F1D #155F42 #15575F
triadic
#155F42 #42155F #5F4215
tetradic
#155F42 #1D155F #5F1532 #575F15
square
#155F42 #1D155F #5F1532 #575F15
split-complementary
#155F42 #5F1557 #5F1D15
monochromatic
#061911 #0A2D1F #155F42 #209165 #2BC388

Accessibility & contrast

On white

7.64
#155F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#155F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155F42
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F42#FFFFFF#000000##FFFFFF
##155F421.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5740
Deuteranopia (green-blind)
#545144
Tritanopia (blue-blind)
#005F57
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #155f42;
/* rgb */ color: rgb(21, 95, 66);
/* oklch */ color: oklch(43.3% 0.086 162.1);
Tailwind
colors: {
  custom: {
    50: '#5f8d76',
    500: '#155f42',
    950: '#000000',
  },
}
SCSS
$custom: #155f42;
$custom-light: #5f8d76;
$custom-dark: #000000;
JSON
{
  "hex": "#155f42",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 66
  },
  "hsl": {
    "h": 156.486,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43334,
    "c": 0.0857,
    "h": 162.1
  },
  "luminance": 0.08737
}

Semantic roles & 50–950 ramp

primary
#155F42
secondary
#963A5E
accent
#4182E7
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #155F42

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

Preview Lab → · Contrast checker → · Palette generator →

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