#154E42#154E42

#154E42 is a dark, moderate teal. Relative luminance 0.060; OKLCH L 38.4% C 0.062 H 175.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#154E42
RGBrgb(21, 78, 66)
HSLhsl(167, 58%, 19%)
HSVhsv(167, 73%, 31%)
CMYKcmyk(73.1%, 0%, 15.4%, 69.4%)
CIE-LABlab(29.42, -21.60, 1.77)
CIE-LCHlch(29.42, 21.67, 175.30°)
OKLaboklab(38.37% -0.0616 0.0044)
OKLCHoklch(38.37% 0.062 175.9)
XYZxyz(4.0165, 6.0011, 6.0999)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E42 #4E1521
analogous
#154E26 #154E42 #153E4E
triadic
#154E42 #42154E #4E4215
tetradic
#154E42 #26154E #4E1521 #3E4E15
square
#154E42 #26154E #4E1521 #3E4E15
split-complementary
#154E42 #4E153E #4E2615
monochromatic
#061814 #081E19 #154E42 #227E6B #2FAE94

Accessibility & contrast

On white

9.54
#154E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#154E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154E42
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E42#FFFFFF#000000##FFFFFF
##154E421.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4941
Deuteranopia (green-blind)
#434343
Tritanopia (blue-blind)
#004F4A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #154e42;
/* rgb */ color: rgb(21, 78, 66);
/* oklch */ color: oklch(38.4% 0.062 175.9);
Tailwind
colors: {
  custom: {
    50: '#5b8076',
    500: '#154e42',
    950: '#000000',
  },
}
SCSS
$custom: #154e42;
$custom-light: #5b8076;
$custom-dark: #000000;
JSON
{
  "hex": "#154e42",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 66
  },
  "hsl": {
    "h": 167.368,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38373,
    "c": 0.06177,
    "h": 175.9
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#154E42
secondary
#863949
accent
#4767E1
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #154E42

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

Preview Lab → · Contrast checker → · Palette generator →

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