#155F40#155F40

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

Color values

HEX#155F40
RGBrgb(21, 95, 64)
HSLhsl(155, 64%, 23%)
HSVhsv(155, 78%, 37%)
CMYKcmyk(77.9%, 0%, 32.6%, 62.7%)
CIE-LABlab(35.43, -30.33, 11.51)
CIE-LCHlch(35.43, 32.44, 159.21°)
OKLaboklab(43.28% -0.0826 0.0292)
OKLCHoklch(43.28% 0.088 160.5)
XYZxyz(5.3263, 8.7134, 6.2506)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F40 #5F1534
analogous
#155F1B #155F40 #15595F
triadic
#155F40 #40155F #5F4015
tetradic
#155F40 #1B155F #5F1534 #595F15
square
#155F40 #1B155F #5F1534 #595F15
split-complementary
#155F40 #5F1559 #5F1B15
monochromatic
#061911 #0A2D1E #155F40 #209162 #2BC384

Accessibility & contrast

On white

7.66
#155F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#155F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155F40
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F40#FFFFFF#000000##FFFFFF
##155F401.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #155f40;
/* rgb */ color: rgb(21, 95, 64);
/* oklch */ color: oklch(43.3% 0.088 160.5);
Tailwind
colors: {
  custom: {
    50: '#5f8d75',
    500: '#155f40',
    950: '#000000',
  },
}
SCSS
$custom: #155f40;
$custom-light: #5f8d75;
$custom-dark: #000000;
JSON
{
  "hex": "#155f40",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 64
  },
  "hsl": {
    "h": 154.865,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43281,
    "c": 0.08764,
    "h": 160.5
  },
  "luminance": 0.08714
}

Semantic roles & 50–950 ramp

primary
#155F40
secondary
#963A60
accent
#4186E7
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #155F40

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

Preview Lab → · Contrast checker → · Palette generator →

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