#0C5643#0C5643

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

Color values

HEX#0C5643
RGBrgb(12, 86, 67)
HSLhsl(165, 76%, 19%)
HSVhsv(165, 86%, 34%)
CMYKcmyk(86%, 0%, 22.1%, 66.3%)
CIE-LABlab(32.12, -26.64, 5.00)
CIE-LCHlch(32.12, 27.10, 169.37°)
OKLaboklab(40.54% -0.0743 0.0127)
OKLCHoklch(40.54% 0.075 170.3)
XYZxyz(4.4920, 7.1384, 6.4502)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5643 #560C1F
analogous
#0C561E #0C5643 #0C4456
triadic
#0C5643 #430C56 #56430C
tetradic
#0C5643 #1E0C56 #560C1F #44560C
square
#0C5643 #1E0C56 #560C1F #44560C
split-complementary
#0C5643 #560C44 #561E0C
monochromatic
#041B15 #052019 #0C5643 #138C6D #1BC197

Accessibility & contrast

On white

8.65
#0C5643 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#0C5643 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5643
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5643#FFFFFF#000000##FFFFFF
##0C56431.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534F42
Deuteranopia (green-blind)
#4A4944
Tritanopia (blue-blind)
#005751
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0c5643;
/* rgb */ color: rgb(12, 86, 67);
/* oklch */ color: oklch(40.5% 0.075 170.3);
Tailwind
colors: {
  custom: {
    50: '#5a8677',
    500: '#0c5643',
    950: '#000000',
  },
}
SCSS
$custom: #0c5643;
$custom-light: #5a8677;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5643",
  "rgb": {
    "r": 12,
    "g": 86,
    "b": 67
  },
  "hsl": {
    "h": 164.595,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.4054,
    "c": 0.07538,
    "h": 170.3
  },
  "luminance": 0.07139
}

Semantic roles & 50–950 ramp

primary
#0C5643
secondary
#912D46
accent
#3666F2
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #0C5643

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

Preview Lab → · Contrast checker → · Palette generator →

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