#0C5349#0C5349

#0C5349 is a dark, moderate teal. Relative luminance 0.067; OKLCH L 39.9% C 0.068 H 180.5°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#0C5349
RGBrgb(12, 83, 73)
HSLhsl(172, 75%, 19%)
HSVhsv(172, 86%, 33%)
CMYKcmyk(85.5%, 0%, 12%, 67.5%)
CIE-LABlab(31.22, -23.37, -0.09)
CIE-LCHlch(31.22, 23.37, 180.23°)
OKLaboklab(39.86% -0.0676 -0.0006)
OKLCHoklch(39.86% 0.068 180.5)
XYZxyz(4.4469, 6.7452, 7.3696)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5349 #530C16
analogous
#0C5325 #0C5349 #0C3953
triadic
#0C5349 #490C53 #53490C
tetradic
#0C5349 #250C53 #530C16 #39530C
square
#0C5349 #250C53 #530C16 #39530C
split-complementary
#0C5349 #530C39 #53250C
monochromatic
#041B18 #041E1A #0C5349 #148878 #1BBEA7

Accessibility & contrast

On white

8.94
#0C5349 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#0C5349 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5349
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5349#FFFFFF#000000##FFFFFF
##0C53491.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4D49
Deuteranopia (green-blind)
#46474A
Tritanopia (blue-blind)
#005550
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c5349;
/* rgb */ color: rgb(12, 83, 73);
/* oklch */ color: oklch(39.9% 0.068 180.5);
Tailwind
colors: {
  custom: {
    50: '#5a847b',
    500: '#0c5349',
    950: '#000000',
  },
}
SCSS
$custom: #0c5349;
$custom-light: #5a847b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5349",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 73
  },
  "hsl": {
    "h": 171.549,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3986,
    "c": 0.06764,
    "h": 180.5
  },
  "luminance": 0.06746
}

Semantic roles & 50–950 ramp

primary
#0C5349
secondary
#8E2D3A
accent
#3651F1
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B09
muted
#797C7B

Preview Lab

Preview with #0C5349

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

Preview Lab → · Contrast checker → · Palette generator →

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