#154F40#154F40

#154F40 is a dark, moderate teal. Relative luminance 0.061; OKLCH L 38.6% C 0.065 H 172.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#154F40
RGBrgb(21, 79, 64)
HSLhsl(164, 58%, 20%)
HSVhsv(164, 73%, 31%)
CMYKcmyk(73.4%, 0%, 19%, 69%)
CIE-LABlab(29.72, -22.70, 3.49)
CIE-LCHlch(29.72, 22.96, 171.26°)
OKLaboklab(38.6% -0.0639 0.0089)
OKLCHoklch(38.6% 0.065 172.1)
XYZxyz(4.0302, 6.1211, 5.8186)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F40 #4F1524
analogous
#154F23 #154F40 #15414F
triadic
#154F40 #40154F #4F4015
tetradic
#154F40 #23154F #4F1524 #414F15
square
#154F40 #23154F #4F1524 #414F15
split-complementary
#154F40 #4F1541 #4F2315
monochromatic
#061814 #081F19 #154F40 #227F67 #2FB08E

Accessibility & contrast

On white

9.44
#154F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#154F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154F40
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F40#FFFFFF#000000##FFFFFF
##154F401.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C493F
Deuteranopia (green-blind)
#444441
Tritanopia (blue-blind)
#00504B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #154f40;
/* rgb */ color: rgb(21, 79, 64);
/* oklch */ color: oklch(38.6% 0.065 172.1);
Tailwind
colors: {
  custom: {
    50: '#5b8174',
    500: '#154f40',
    950: '#000000',
  },
}
SCSS
$custom: #154f40;
$custom-light: #5b8174;
$custom-dark: #000000;
JSON
{
  "hex": "#154f40",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 64
  },
  "hsl": {
    "h": 164.483,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38599,
    "c": 0.06453,
    "h": 172.1
  },
  "luminance": 0.06122
}

Semantic roles & 50–950 ramp

primary
#154F40
secondary
#87394D
accent
#476FE1
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #154F40

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

Preview Lab → · Contrast checker → · Palette generator →

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