#154D38#154D38

#154D38 is a dark, moderate teal. Relative luminance 0.058; OKLCH L 37.8% C 0.068 H 164.3°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#154D38
RGBrgb(21, 77, 56)
HSLhsl(158, 57%, 19%)
HSVhsv(158, 73%, 30%)
CMYKcmyk(72.7%, 0%, 27.3%, 69.8%)
CIE-LABlab(28.78, -23.91, 7.26)
CIE-LCHlch(28.78, 24.99, 163.11°)
OKLaboklab(37.76% -0.0659 0.0186)
OKLCHoklch(37.76% 0.068 164.3)
XYZxyz(3.6766, 5.7523, 4.6572)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D38 #4D152A
analogous
#154D1C #154D38 #15464D
triadic
#154D38 #38154D #4D3815
tetradic
#154D38 #1C154D #4D152A #464D15
square
#154D38 #1C154D #4D152A #464D15
split-complementary
#154D38 #4D1546 #4D1C15
monochromatic
#071811 #081D15 #154D38 #227D5B #2FAD7E

Accessibility & contrast

On white

9.76
#154D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#154D38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154D38
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D38#FFFFFF#000000##FFFFFF
##154D381.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4737
Deuteranopia (green-blind)
#444239
Tritanopia (blue-blind)
#004D47
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154d38;
/* rgb */ color: rgb(21, 77, 56);
/* oklch */ color: oklch(37.8% 0.068 164.3);
Tailwind
colors: {
  custom: {
    50: '#5b7f6e',
    500: '#154d38',
    950: '#000000',
  },
}
SCSS
$custom: #154d38;
$custom-light: #5b7f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#154d38",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 56
  },
  "hsl": {
    "h": 157.5,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37762,
    "c": 0.06846,
    "h": 164.3
  },
  "luminance": 0.05753
}

Semantic roles & 50–950 ramp

primary
#154D38
secondary
#853955
accent
#4781E0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A07
muted
#797C7A

Preview Lab

Preview with #154D38

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

Preview Lab → · Contrast checker → · Palette generator →

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