#0C5548#0C5548

#0C5548 is a dark, moderate teal. Relative luminance 0.070; OKLCH L 40.4% C 0.071 H 177.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#0C5548
RGBrgb(12, 85, 72)
HSLhsl(169, 75%, 19%)
HSVhsv(169, 86%, 33%)
CMYKcmyk(85.9%, 0%, 15.3%, 66.7%)
CIE-LABlab(31.90, -24.68, 1.54)
CIE-LCHlch(31.90, 24.72, 176.44°)
OKLaboklab(40.41% -0.0704 0.0037)
OKLCHoklch(40.41% 0.071 177)
XYZxyz(4.5692, 7.0425, 7.2481)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5548 #550C19
analogous
#0C5524 #0C5548 #0C3E55
triadic
#0C5548 #480C55 #55480C
tetradic
#0C5548 #240C55 #550C19 #3E550C
square
#0C5548 #240C55 #550C19 #3E550C
split-complementary
#0C5548 #550C3E #55240C
monochromatic
#041B17 #041F1B #0C5548 #148B75 #1BC0A3

Accessibility & contrast

On white

8.72
#0C5548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#0C5548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5548
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5548#FFFFFF#000000##FFFFFF
##0C55481.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514F47
Deuteranopia (green-blind)
#484849
Tritanopia (blue-blind)
#005651
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0c5548;
/* rgb */ color: rgb(12, 85, 72);
/* oklch */ color: oklch(40.4% 0.071 177.0);
Tailwind
colors: {
  custom: {
    50: '#5a857a',
    500: '#0c5548',
    950: '#000000',
  },
}
SCSS
$custom: #0c5548;
$custom-light: #5a857a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5548",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 72
  },
  "hsl": {
    "h": 169.315,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40409,
    "c": 0.07054,
    "h": 177
  },
  "luminance": 0.07043
}

Semantic roles & 50–950 ramp

primary
#0C5548
secondary
#902D3E
accent
#3657F2
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B09
muted
#797C7B

Preview Lab

Preview with #0C5548

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

Preview Lab → · Contrast checker → · Palette generator →

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