#0C5345#0C5345

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

Color values

HEX#0C5345
RGBrgb(12, 83, 69)
HSLhsl(168, 75%, 19%)
HSVhsv(168, 86%, 33%)
CMYKcmyk(85.5%, 0%, 16.9%, 67.5%)
CIE-LABlab(31.10, -24.60, 2.27)
CIE-LCHlch(31.10, 24.70, 174.72°)
OKLaboklab(39.72% -0.0698 0.0056)
OKLCHoklch(39.72% 0.07 175.4)
XYZxyz(4.3185, 6.6938, 6.6935)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5345 #530C1A
analogous
#0C5321 #0C5345 #0C3D53
triadic
#0C5345 #450C53 #53450C
tetradic
#0C5345 #210C53 #530C1A #3D530C
square
#0C5345 #210C53 #530C1A #3D530C
split-complementary
#0C5345 #530C3D #53210C
monochromatic
#041B16 #041E19 #0C5345 #148871 #1BBE9E

Accessibility & contrast

On white

8.98
#0C5345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#0C5345 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5345
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5345#FFFFFF#000000##FFFFFF
##0C53451.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504D44
Deuteranopia (green-blind)
#474646
Tritanopia (blue-blind)
#00544F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c5345;
/* rgb */ color: rgb(12, 83, 69);
/* oklch */ color: oklch(39.7% 0.070 175.4);
Tailwind
colors: {
  custom: {
    50: '#5a8478',
    500: '#0c5345',
    950: '#000000',
  },
}
SCSS
$custom: #0c5345;
$custom-light: #5a8478;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5345",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 69
  },
  "hsl": {
    "h": 168.169,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39722,
    "c": 0.07004,
    "h": 175.4
  },
  "luminance": 0.06694
}

Semantic roles & 50–950 ramp

primary
#0C5345
secondary
#8E2D40
accent
#365BF1
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B09
muted
#797C7B

Preview Lab

Preview with #0C5345

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

Preview Lab → · Contrast checker → · Palette generator →

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