#0C5348#0C5348

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

Color values

HEX#0C5348
RGBrgb(12, 83, 72)
HSLhsl(171, 75%, 19%)
HSVhsv(171, 86%, 33%)
CMYKcmyk(85.5%, 0%, 13.3%, 67.5%)
CIE-LABlab(31.19, -23.68, 0.50)
CIE-LCHlch(31.19, 23.68, 178.80°)
OKLaboklab(39.83% -0.0682 0.0009)
OKLCHoklch(39.83% 0.068 179.2)
XYZxyz(4.4140, 6.7320, 7.1964)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5348 #530C17
analogous
#0C5324 #0C5348 #0C3A53
triadic
#0C5348 #480C53 #53480C
tetradic
#0C5348 #240C53 #530C17 #3A530C
square
#0C5348 #240C53 #530C17 #3A530C
split-complementary
#0C5348 #530C3A #53240C
monochromatic
#041B17 #041E1A #0C5348 #148876 #1BBEA5

Accessibility & contrast

On white

8.95
#0C5348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5348
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5348#FFFFFF#000000##FFFFFF
##0C53481.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4D48
Deuteranopia (green-blind)
#464749
Tritanopia (blue-blind)
#005550
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c5348;
/* rgb */ color: rgb(12, 83, 72);
/* oklch */ color: oklch(39.8% 0.068 179.2);
Tailwind
colors: {
  custom: {
    50: '#5a847a',
    500: '#0c5348',
    950: '#000000',
  },
}
SCSS
$custom: #0c5348;
$custom-light: #5a847a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5348",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 72
  },
  "hsl": {
    "h": 170.704,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39825,
    "c": 0.06819,
    "h": 179.2
  },
  "luminance": 0.06733
}

Semantic roles & 50–950 ramp

primary
#0C5348
secondary
#8E2D3C
accent
#3653F1
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B09
muted
#797C7B

Preview Lab

Preview with #0C5348

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

Preview Lab → · Contrast checker → · Palette generator →

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