#0C4945#0C4945

#0C4945 is a dark, muted teal. Relative luminance 0.053; OKLCH L 36.8% C 0.059 H 188.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#0C4945
RGBrgb(12, 73, 69)
HSLhsl(176, 72%, 17%)
HSVhsv(176, 84%, 29%)
CMYKcmyk(83.6%, 0%, 5.5%, 71.4%)
CIE-LABlab(27.50, -19.45, -3.00)
CIE-LCHlch(27.50, 19.68, 188.75°)
OKLaboklab(36.78% -0.0583 -0.0084)
OKLCHoklch(36.78% 0.059 188.2)
XYZxyz(3.6078, 5.2725, 6.4566)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4945 #490C10
analogous
#0C4927 #0C4945 #0C2F49
triadic
#0C4945 #450C49 #49450C
tetradic
#0C4945 #270C49 #490C10 #2F490C
square
#0C4945 #270C49 #490C10 #2F490C
split-complementary
#0C4945 #490C2F #49270C
monochromatic
#041A19 #041A19 #0C4945 #157E77 #1DB2A8

Accessibility & contrast

On white

10.22
#0C4945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#0C4945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4945
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4945#FFFFFF#000000##FFFFFF
##0C49451.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444545
Deuteranopia (green-blind)
#3C3E46
Tritanopia (blue-blind)
#004B48
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4945;
/* rgb */ color: rgb(12, 73, 69);
/* oklch */ color: oklch(36.8% 0.059 188.2);
Tailwind
colors: {
  custom: {
    50: '#587c78',
    500: '#0c4945',
    950: '#000000',
  },
}
SCSS
$custom: #0c4945;
$custom-light: #587c78;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4945",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 69
  },
  "hsl": {
    "h": 176.066,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.3678,
    "c": 0.05891,
    "h": 188.2
  },
  "luminance": 0.05273
}

Semantic roles & 50–950 ramp

primary
#0C4945
secondary
#852C32
accent
#3945EE
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040909
muted
#797B7B

Preview Lab

Preview with #0C4945

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

Preview Lab → · Contrast checker → · Palette generator →

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