#1B4E38#1B4E38

#1B4E38 is a dark, moderate teal. Relative luminance 0.060; OKLCH L 38.3% C 0.067 H 162.0°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#1B4E38
RGBrgb(27, 78, 56)
HSLhsl(154, 49%, 21%)
HSVhsv(154, 65%, 31%)
CMYKcmyk(65.4%, 0%, 28.2%, 69.4%)
CIE-LABlab(29.33, -23.08, 8.06)
CIE-LCHlch(29.33, 24.44, 160.75°)
OKLaboklab(38.27% -0.0635 0.0206)
OKLCHoklch(38.27% 0.067 162)
XYZxyz(3.8898, 5.9669, 4.6874)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E38 #4E1B31
analogous
#1B4E1F #1B4E38 #1B4A4E
triadic
#1B4E38 #381B4E #4E381B
tetradic
#1B4E38 #1F1B4E #4E1B31 #4A4E1B
square
#1B4E38 #1F1B4E #4E1B31 #4A4E1B
split-complementary
#1B4E38 #4E1B4A #4E1F1B
monochromatic
#081710 #0B2117 #1B4E38 #2B7B59 #3AA979

Accessibility & contrast

On white

9.57
#1B4E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1B4E38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E38
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E38#FFFFFF#000000##FFFFFF
##1B4E381.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4837
Deuteranopia (green-blind)
#464339
Tritanopia (blue-blind)
#034E48
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b4e38;
/* rgb */ color: rgb(27, 78, 56);
/* oklch */ color: oklch(38.3% 0.067 162.0);
Tailwind
colors: {
  custom: {
    50: '#5d806e',
    500: '#1b4e38',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e38;
$custom-light: #5d806e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e38",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 56
  },
  "hsl": {
    "h": 154.118,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38265,
    "c": 0.06672,
    "h": 162
  },
  "luminance": 0.05967
}

Semantic roles & 50–950 ramp

primary
#1B4E38
secondary
#84415E
accent
#508BD8
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #1B4E38

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

Preview Lab → · Contrast checker → · Palette generator →

#1B4E38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva