#1B5943#1B5943

#1B5943 is a dark, moderate teal. Relative luminance 0.078; OKLCH L 41.8% C 0.073 H 165.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#1B5943
RGBrgb(27, 89, 67)
HSLhsl(159, 53%, 23%)
HSVhsv(159, 70%, 35%)
CMYKcmyk(69.7%, 0%, 24.7%, 65.1%)
CIE-LABlab(33.53, -25.66, 7.04)
CIE-LCHlch(33.53, 26.61, 164.66°)
OKLaboklab(41.79% -0.071 0.018)
OKLCHoklch(41.79% 0.073 165.8)
XYZxyz(5.0370, 7.7825, 6.5458)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5943 #591B31
analogous
#1B5924 #1B5943 #1B5059
triadic
#1B5943 #431B59 #59431B
tetradic
#1B5943 #241B59 #591B31 #50591B
square
#1B5943 #241B59 #591B31 #50591B
split-complementary
#1B5943 #591B50 #59241B
monochromatic
#071712 #0D2A20 #1B5943 #298866 #37B78A

Accessibility & contrast

On white

8.21
#1B5943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1B5943 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5943
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5943#FFFFFF#000000##FFFFFF
##1B59431.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575242
Deuteranopia (green-blind)
#4F4C44
Tritanopia (blue-blind)
#005953
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b5943;
/* rgb */ color: rgb(27, 89, 67);
/* oklch */ color: oklch(41.8% 0.073 165.8);
Tailwind
colors: {
  custom: {
    50: '#608877',
    500: '#1b5943',
    950: '#000000',
  },
}
SCSS
$custom: #1b5943;
$custom-light: #608877;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5943",
  "rgb": {
    "r": 27,
    "g": 89,
    "b": 67
  },
  "hsl": {
    "h": 158.71,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41789,
    "c": 0.07329,
    "h": 165.8
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#1B5943
secondary
#8F415D
accent
#4B7FDD
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #1B5943

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

Preview Lab → · Contrast checker → · Palette generator →

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