#155F4F#155F4F

#155F4F is a dark, moderate teal. Relative luminance 0.089; OKLCH L 43.7% C 0.075 H 174.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#155F4F
RGBrgb(21, 95, 79)
HSLhsl(167, 64%, 23%)
HSVhsv(167, 78%, 37%)
CMYKcmyk(77.9%, 0%, 16.8%, 62.7%)
CIE-LABlab(35.81, -26.32, 2.82)
CIE-LCHlch(35.81, 26.47, 173.88°)
OKLaboklab(43.72% -0.0746 0.0071)
OKLCHoklch(43.72% 0.075 174.6)
XYZxyz(5.8120, 8.9077, 8.8087)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F4F #5F1525
analogous
#155F2A #155F4F #154A5F
triadic
#155F4F #4F155F #5F4F15
tetradic
#155F4F #2A155F #5F1525 #4A5F15
square
#155F4F #2A155F #5F1525 #4A5F15
split-complementary
#155F4F #5F154A #5F2A15
monochromatic
#061915 #0A2D25 #155F4F #209179 #2BC3A2

Accessibility & contrast

On white

7.55
#155F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#155F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155F4F
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F4F#FFFFFF#000000##FFFFFF
##155F4F1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B584E
Deuteranopia (green-blind)
#525150
Tritanopia (blue-blind)
#00605A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #155f4f;
/* rgb */ color: rgb(21, 95, 79);
/* oklch */ color: oklch(43.7% 0.075 174.6);
Tailwind
colors: {
  custom: {
    50: '#5f8d80',
    500: '#155f4f',
    950: '#000000',
  },
}
SCSS
$custom: #155f4f;
$custom-light: #5f8d80;
$custom-dark: #000000;
JSON
{
  "hex": "#155f4f",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 79
  },
  "hsl": {
    "h": 167.027,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43718,
    "c": 0.07491,
    "h": 174.6
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#155F4F
secondary
#963A4E
accent
#4165E7
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#050C0A
muted
#7A7D7C

Preview Lab

Preview with #155F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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