#1B5941#1B5941

#1B5941 is a dark, moderate teal. Relative luminance 0.078; OKLCH L 41.7% C 0.075 H 163.8°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#1B5941
RGBrgb(27, 89, 65)
HSLhsl(157, 53%, 23%)
HSVhsv(157, 70%, 35%)
CMYKcmyk(69.7%, 0%, 27%, 65.1%)
CIE-LABlab(33.48, -26.18, 8.21)
CIE-LCHlch(33.48, 27.44, 162.59°)
OKLaboklab(41.73% -0.0721 0.021)
OKLCHoklch(41.73% 0.075 163.8)
XYZxyz(4.9780, 7.7589, 6.2353)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5941 #591B33
analogous
#1B5922 #1B5941 #1B5259
triadic
#1B5941 #411B59 #59411B
tetradic
#1B5941 #221B59 #591B33 #52591B
square
#1B5941 #221B59 #591B33 #52591B
split-complementary
#1B5941 #591B52 #59221B
monochromatic
#071711 #0D2A1F #1B5941 #298863 #37B786

Accessibility & contrast

On white

8.23
#1B5941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1B5941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5941
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5941#FFFFFF#000000##FFFFFF
##1B59411.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575240
Deuteranopia (green-blind)
#4F4C43
Tritanopia (blue-blind)
#005952
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b5941;
/* rgb */ color: rgb(27, 89, 65);
/* oklch */ color: oklch(41.7% 0.075 163.8);
Tailwind
colors: {
  custom: {
    50: '#608875',
    500: '#1b5941',
    950: '#000000',
  },
}
SCSS
$custom: #1b5941;
$custom-light: #608875;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5941",
  "rgb": {
    "r": 27,
    "g": 89,
    "b": 65
  },
  "hsl": {
    "h": 156.774,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41731,
    "c": 0.07511,
    "h": 163.8
  },
  "luminance": 0.07759
}

Semantic roles & 50–950 ramp

primary
#1B5941
secondary
#8F415F
accent
#4B83DD
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #1B5941

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

Preview Lab → · Contrast checker → · Palette generator →

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