#0C5545#0C5545

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

Color values

HEX#0C5545
RGBrgb(12, 85, 69)
HSLhsl(167, 75%, 19%)
HSVhsv(167, 86%, 33%)
CMYKcmyk(85.9%, 0%, 18.8%, 66.7%)
CIE-LABlab(31.82, -25.58, 3.31)
CIE-LCHlch(31.82, 25.79, 172.63°)
OKLaboklab(40.31% -0.0721 0.0084)
OKLCHoklch(40.31% 0.073 173.4)
XYZxyz(4.4737, 7.0043, 6.7452)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5545 #550C1C
analogous
#0C5521 #0C5545 #0C4155
triadic
#0C5545 #450C55 #55450C
tetradic
#0C5545 #210C55 #550C1C #41550C
square
#0C5545 #210C55 #550C1C #41550C
split-complementary
#0C5545 #550C41 #55210C
monochromatic
#041B16 #041F19 #0C5545 #148B71 #1BC09C

Accessibility & contrast

On white

8.75
#0C5545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5545
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5545#FFFFFF#000000##FFFFFF
##0C55451.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524F44
Deuteranopia (green-blind)
#494846
Tritanopia (blue-blind)
#005650
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0c5545;
/* rgb */ color: rgb(12, 85, 69);
/* oklch */ color: oklch(40.3% 0.073 173.4);
Tailwind
colors: {
  custom: {
    50: '#5a8578',
    500: '#0c5545',
    950: '#000000',
  },
}
SCSS
$custom: #0c5545;
$custom-light: #5a8578;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5545",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 69
  },
  "hsl": {
    "h": 166.849,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40309,
    "c": 0.07255,
    "h": 173.4
  },
  "luminance": 0.07005
}

Semantic roles & 50–950 ramp

primary
#0C5545
secondary
#902D42
accent
#365FF2
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B09
muted
#797C7B

Preview Lab

Preview with #0C5545

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

Preview Lab → · Contrast checker → · Palette generator →

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