#0C4947#0C4947

#0C4947 is a dark, muted teal. Relative luminance 0.053; OKLCH L 36.9% C 0.058 H 191.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#0C4947
RGBrgb(12, 73, 71)
HSLhsl(178, 72%, 17%)
HSVhsv(178, 84%, 29%)
CMYKcmyk(83.6%, 0%, 2.7%, 71.4%)
CIE-LABlab(27.57, -18.77, -4.19)
CIE-LCHlch(27.57, 19.24, 192.59°)
OKLaboklab(36.86% -0.0572 -0.0117)
OKLCHoklch(36.86% 0.058 191.6)
XYZxyz(3.6710, 5.2977, 6.7891)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4947 #490C0E
analogous
#0C4929 #0C4947 #0C2D49
triadic
#0C4947 #470C49 #49470C
tetradic
#0C4947 #290C49 #490C0E #2D490C
square
#0C4947 #290C49 #490C0E #2D490C
split-complementary
#0C4947 #490C2D #49290C
monochromatic
#041A1A #041A1A #0C4947 #157E7A #1DB2AD

Accessibility & contrast

On white

10.20
#0C4947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#0C4947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4947
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4947#FFFFFF#000000##FFFFFF
##0C49471.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4947;
/* rgb */ color: rgb(12, 73, 71);
/* oklch */ color: oklch(36.9% 0.058 191.6);
Tailwind
colors: {
  custom: {
    50: '#587c7a',
    500: '#0c4947',
    950: '#000000',
  },
}
SCSS
$custom: #0c4947;
$custom-light: #587c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4947",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 71
  },
  "hsl": {
    "h": 178.033,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.3686,
    "c": 0.05842,
    "h": 191.6
  },
  "luminance": 0.05298
}

Semantic roles & 50–950 ramp

primary
#0C4947
secondary
#852C2F
accent
#393FEE
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040909
muted
#797B7B

Preview Lab

Preview with #0C4947

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

Preview Lab → · Contrast checker → · Palette generator →

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