#0C5546#0C5546

#0C5546 is a dark, moderate teal. Relative luminance 0.070; OKLCH L 40.3% C 0.072 H 174.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#0C5546
RGBrgb(12, 85, 70)
HSLhsl(168, 75%, 19%)
HSVhsv(168, 86%, 33%)
CMYKcmyk(85.9%, 0%, 17.6%, 66.7%)
CIE-LABlab(31.85, -25.28, 2.72)
CIE-LCHlch(31.85, 25.43, 173.87°)
OKLaboklab(40.34% -0.0715 0.0068)
OKLCHoklch(40.34% 0.072 174.6)
XYZxyz(4.5050, 7.0168, 6.9101)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5546 #550C1B
analogous
#0C5522 #0C5546 #0C4055
triadic
#0C5546 #460C55 #55460C
tetradic
#0C5546 #220C55 #550C1B #40550C
square
#0C5546 #220C55 #550C1B #40550C
split-complementary
#0C5546 #550C40 #55220C
monochromatic
#041B16 #041F1A #0C5546 #148B72 #1BC09E

Accessibility & contrast

On white

8.74
#0C5546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#0C5546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5546
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5546#FFFFFF#000000##FFFFFF
##0C55461.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524F45
Deuteranopia (green-blind)
#484847
Tritanopia (blue-blind)
#005651
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0c5546;
/* rgb */ color: rgb(12, 85, 70);
/* oklch */ color: oklch(40.3% 0.072 174.6);
Tailwind
colors: {
  custom: {
    50: '#5a8579',
    500: '#0c5546',
    950: '#000000',
  },
}
SCSS
$custom: #0c5546;
$custom-light: #5a8579;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5546",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 70
  },
  "hsl": {
    "h": 167.671,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40342,
    "c": 0.07184,
    "h": 174.6
  },
  "luminance": 0.07017
}

Semantic roles & 50–950 ramp

primary
#0C5546
secondary
#902D41
accent
#365DF2
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B09
muted
#797C7B

Preview Lab

Preview with #0C5546

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

Preview Lab → · Contrast checker → · Palette generator →

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