#0C5343#0C5343

#0C5343 is a dark, moderate teal. Relative luminance 0.067; OKLCH L 39.7% C 0.071 H 173.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#0C5343
RGBrgb(12, 83, 67)
HSLhsl(166, 75%, 19%)
HSVhsv(166, 86%, 33%)
CMYKcmyk(85.5%, 0%, 19.3%, 67.5%)
CIE-LABlab(31.04, -25.20, 3.46)
CIE-LCHlch(31.04, 25.43, 172.18°)
OKLaboklab(39.66% -0.0709 0.0088)
OKLCHoklch(39.66% 0.071 173)
XYZxyz(4.2575, 6.6694, 6.3720)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5343 #530C1C
analogous
#0C531F #0C5343 #0C3F53
triadic
#0C5343 #430C53 #53430C
tetradic
#0C5343 #1F0C53 #530C1C #3F530C
square
#0C5343 #1F0C53 #530C1C #3F530C
split-complementary
#0C5343 #530C3F #531F0C
monochromatic
#041B16 #041E18 #0C5343 #14886E #1BBE99

Accessibility & contrast

On white

9.00
#0C5343 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#0C5343 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5343
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5343#FFFFFF#000000##FFFFFF
##0C53431.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504D42
Deuteranopia (green-blind)
#474644
Tritanopia (blue-blind)
#00544E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c5343;
/* rgb */ color: rgb(12, 83, 67);
/* oklch */ color: oklch(39.7% 0.071 173.0);
Tailwind
colors: {
  custom: {
    50: '#5a8477',
    500: '#0c5343',
    950: '#000000',
  },
}
SCSS
$custom: #0c5343;
$custom-light: #5a8477;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5343",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 67
  },
  "hsl": {
    "h": 166.479,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39656,
    "c": 0.07144,
    "h": 173
  },
  "luminance": 0.0667
}

Semantic roles & 50–950 ramp

primary
#0C5343
secondary
#8E2D43
accent
#3661F1
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #0C5343

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

Preview Lab → · Contrast checker → · Palette generator →

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