#0C5646#0C5646

#0C5646 is a dark, moderate teal. Relative luminance 0.072; OKLCH L 40.6% C 0.073 H 173.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#0C5646
RGBrgb(12, 86, 70)
HSLhsl(167, 76%, 19%)
HSVhsv(167, 86%, 34%)
CMYKcmyk(86%, 0%, 18.6%, 66.3%)
CIE-LABlab(32.20, -25.77, 3.23)
CIE-LCHlch(32.20, 25.97, 172.85°)
OKLaboklab(40.64% -0.0727 0.0081)
OKLCHoklch(40.64% 0.073 173.6)
XYZxyz(4.5843, 7.1754, 6.9365)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5646 #560C1C
analogous
#0C5621 #0C5646 #0C4156
triadic
#0C5646 #460C56 #56460C
tetradic
#0C5646 #210C56 #560C1C #41560C
square
#0C5646 #210C56 #560C1C #41560C
split-complementary
#0C5646 #560C41 #56210C
monochromatic
#041B16 #05201A #0C5646 #138C72 #1BC19D

Accessibility & contrast

On white

8.62
#0C5646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#0C5646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5646
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5646#FFFFFF#000000##FFFFFF
##0C56461.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535045
Deuteranopia (green-blind)
#494947
Tritanopia (blue-blind)
#005751
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0c5646;
/* rgb */ color: rgb(12, 86, 70);
/* oklch */ color: oklch(40.6% 0.073 173.6);
Tailwind
colors: {
  custom: {
    50: '#5a8679',
    500: '#0c5646',
    950: '#000000',
  },
}
SCSS
$custom: #0c5646;
$custom-light: #5a8679;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5646",
  "rgb": {
    "r": 12,
    "g": 86,
    "b": 70
  },
  "hsl": {
    "h": 167.027,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40635,
    "c": 0.07311,
    "h": 173.6
  },
  "luminance": 0.07176
}

Semantic roles & 50–950 ramp

primary
#0C5646
secondary
#912D42
accent
#365EF2
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B09
muted
#797C7B

Preview Lab

Preview with #0C5646

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

Preview Lab → · Contrast checker → · Palette generator →

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