#155A40#155A40

#155A40 is a dark, moderate teal. Relative luminance 0.078; OKLCH L 41.8% C 0.080 H 163.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#155A40
RGBrgb(21, 90, 64)
HSLhsl(157, 62%, 22%)
HSVhsv(157, 77%, 35%)
CMYKcmyk(76.7%, 0%, 28.9%, 64.7%)
CIE-LABlab(33.65, -28.04, 9.05)
CIE-LCHlch(33.65, 29.47, 162.11°)
OKLaboklab(41.82% -0.0769 0.0231)
OKLCHoklch(41.82% 0.08 163.3)
XYZxyz(4.8903, 7.8414, 6.1053)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155A40 #5A152F
analogous
#155A1E #155A40 #15525A
triadic
#155A40 #40155A #5A4015
tetradic
#155A40 #1E155A #5A152F #525A15
square
#155A40 #1E155A #5A152F #525A15
split-complementary
#155A40 #5A1552 #5A1E15
monochromatic
#061912 #09281D #155A40 #218C63 #2CBD87

Accessibility & contrast

On white

8.18
#155A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#155A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155A40
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155A40#FFFFFF#000000##FFFFFF
##155A401.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58533F
Deuteranopia (green-blind)
#4F4D42
Tritanopia (blue-blind)
#005A53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #155a40;
/* rgb */ color: rgb(21, 90, 64);
/* oklch */ color: oklch(41.8% 0.080 163.3);
Tailwind
colors: {
  custom: {
    50: '#5e8974',
    500: '#155a40',
    950: '#000000',
  },
}
SCSS
$custom: #155a40;
$custom-light: #5e8974;
$custom-dark: #000000;
JSON
{
  "hex": "#155a40",
  "rgb": {
    "r": 21,
    "g": 90,
    "b": 64
  },
  "hsl": {
    "h": 157.391,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41822,
    "c": 0.08031,
    "h": 163.3
  },
  "luminance": 0.07842
}

Semantic roles & 50–950 ramp

primary
#155A40
secondary
#92395B
accent
#4380E5
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #155A40

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

Preview Lab → · Contrast checker → · Palette generator →

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