#154C40#154C40

#154C40 is a dark, moderate teal. Relative luminance 0.057; OKLCH L 37.7% C 0.060 H 175.4°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#154C40
RGBrgb(21, 76, 64)
HSLhsl(167, 57%, 19%)
HSVhsv(167, 72%, 30%)
CMYKcmyk(72.4%, 0%, 15.8%, 70.2%)
CIE-LABlab(28.64, -21.15, 1.93)
CIE-LCHlch(28.64, 21.24, 174.78°)
OKLaboklab(37.72% -0.0603 0.0048)
OKLCHoklch(37.72% 0.06 175.4)
XYZxyz(3.8187, 5.6981, 5.7481)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C40 #4C1521
analogous
#154C25 #154C40 #153D4C
triadic
#154C40 #40154C #4C4015
tetradic
#154C40 #25154C #4C1521 #3D4C15
square
#154C40 #25154C #4C1521 #3D4C15
split-complementary
#154C40 #4C153D #4C2515
monochromatic
#071814 #081C18 #154C40 #227C68 #2FAC91

Accessibility & contrast

On white

9.81
#154C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#154C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C40
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C40#FFFFFF#000000##FFFFFF
##154C401.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49473F
Deuteranopia (green-blind)
#414141
Tritanopia (blue-blind)
#004D48
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154c40;
/* rgb */ color: rgb(21, 76, 64);
/* oklch */ color: oklch(37.7% 0.060 175.4);
Tailwind
colors: {
  custom: {
    50: '#5b7e74',
    500: '#154c40',
    950: '#000000',
  },
}
SCSS
$custom: #154c40;
$custom-light: #5b7e74;
$custom-dark: #000000;
JSON
{
  "hex": "#154c40",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 64
  },
  "hsl": {
    "h": 166.909,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37719,
    "c": 0.06046,
    "h": 175.4
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#154C40
secondary
#843949
accent
#4869E0
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #154C40

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

Preview Lab → · Contrast checker → · Palette generator →

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