#155B40#155B40

#155B40 is a dark, moderate teal. Relative luminance 0.080; OKLCH L 42.1% C 0.082 H 162.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#155B40
RGBrgb(21, 91, 64)
HSLhsl(157, 63%, 22%)
HSVhsv(157, 77%, 36%)
CMYKcmyk(76.9%, 0%, 29.7%, 64.3%)
CIE-LABlab(34.01, -28.51, 9.55)
CIE-LCHlch(34.01, 30.06, 161.48°)
OKLaboklab(42.11% -0.0781 0.0243)
OKLCHoklch(42.11% 0.082 162.7)
XYZxyz(4.9752, 8.0112, 6.1336)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155B40 #5B1530
analogous
#155B1D #155B40 #15535B
triadic
#155B40 #40155B #5B4015
tetradic
#155B40 #1D155B #5B1530 #535B15
square
#155B40 #1D155B #5B1530 #535B15
split-complementary
#155B40 #5B1553 #5B1D15
monochromatic
#061911 #0A291D #155B40 #208D63 #2CBE86

Accessibility & contrast

On white

8.07
#155B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#155B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155B40
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155B40#FFFFFF#000000##FFFFFF
##155B401.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59543E
Deuteranopia (green-blind)
#504D42
Tritanopia (blue-blind)
#005B54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #155b40;
/* rgb */ color: rgb(21, 91, 64);
/* oklch */ color: oklch(42.1% 0.082 162.7);
Tailwind
colors: {
  custom: {
    50: '#5e8a74',
    500: '#155b40',
    950: '#000000',
  },
}
SCSS
$custom: #155b40;
$custom-light: #5e8a74;
$custom-dark: #000000;
JSON
{
  "hex": "#155b40",
  "rgb": {
    "r": 21,
    "g": 91,
    "b": 64
  },
  "hsl": {
    "h": 156.857,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42114,
    "c": 0.08177,
    "h": 162.7
  },
  "luminance": 0.08012
}

Semantic roles & 50–950 ramp

primary
#155B40
secondary
#92395C
accent
#4281E6
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #155B40

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

Preview Lab → · Contrast checker → · Palette generator →

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