#0B5642#0B5642

#0B5642 is a dark, moderate teal. Relative luminance 0.071; OKLCH L 40.5% C 0.076 H 169.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#0B5642
RGBrgb(11, 86, 66)
HSLhsl(164, 77%, 19%)
HSVhsv(164, 87%, 34%)
CMYKcmyk(87.2%, 0%, 23.3%, 66.3%)
CIE-LABlab(32.08, -27.04, 5.57)
CIE-LCHlch(32.08, 27.61, 168.37°)
OKLaboklab(40.49% -0.0752 0.0142)
OKLCHoklch(40.49% 0.076 169.3)
XYZxyz(4.4486, 7.1195, 6.2929)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B5642 #560B1F
analogous
#0B561D #0B5642 #0B4556
triadic
#0B5642 #420B56 #56420B
tetradic
#0B5642 #1D0B56 #560B1F #45560B
square
#0B5642 #1D0B56 #560B1F #45560B
split-complementary
#0B5642 #560B45 #561D0B
monochromatic
#031B15 #042018 #0B5642 #128C6C #19C395

Accessibility & contrast

On white

8.66
#0B5642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#0B5642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B5642
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B5642#FFFFFF#000000##FFFFFF
##0B56421.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534F41
Deuteranopia (green-blind)
#4A4943
Tritanopia (blue-blind)
#005750
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0b5642;
/* rgb */ color: rgb(11, 86, 66);
/* oklch */ color: oklch(40.5% 0.076 169.3);
Tailwind
colors: {
  custom: {
    50: '#5a8676',
    500: '#0b5642',
    950: '#000000',
  },
}
SCSS
$custom: #0b5642;
$custom-light: #5a8676;
$custom-dark: #000000;
JSON
{
  "hex": "#0b5642",
  "rgb": {
    "r": 11,
    "g": 86,
    "b": 66
  },
  "hsl": {
    "h": 164,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40492,
    "c": 0.07649,
    "h": 169.3
  },
  "luminance": 0.0712
}

Semantic roles & 50–950 ramp

primary
#0B5642
secondary
#912B47
accent
#3467F4
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #0B5642

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

Preview Lab → · Contrast checker → · Palette generator →

#0B5642 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva