#0C4847#0C4847

#0C4847 is a dark, muted teal. Relative luminance 0.052; OKLCH L 36.6% C 0.058 H 193.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#0C4847
RGBrgb(12, 72, 71)
HSLhsl(179, 71%, 16%)
HSVhsv(179, 83%, 28%)
CMYKcmyk(83.3%, 0%, 1.4%, 71.8%)
CIE-LABlab(27.21, -18.23, -4.73)
CIE-LCHlch(27.21, 18.83, 194.54°)
OKLaboklab(36.57% -0.0561 -0.0132)
OKLCHoklch(36.57% 0.058 193.2)
XYZxyz(3.6058, 5.1674, 6.7674)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4847 #480C0D
analogous
#0C4829 #0C4847 #0C2B48
triadic
#0C4847 #470C48 #48470C
tetradic
#0C4847 #290C48 #480C0D #2B480C
square
#0C4847 #290C48 #480C0D #2B480C
split-complementary
#0C4847 #480C2B #48290C
monochromatic
#041A1A #041A1A #0C4847 #157C7B #1DB1AE

Accessibility & contrast

On white

10.33
#0C4847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#0C4847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4847
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4847#FFFFFF#000000##FFFFFF
##0C48471.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434447
Deuteranopia (green-blind)
#3A3E47
Tritanopia (blue-blind)
#004A48
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0c4847;
/* rgb */ color: rgb(12, 72, 71);
/* oklch */ color: oklch(36.6% 0.058 193.2);
Tailwind
colors: {
  custom: {
    50: '#587b7a',
    500: '#0c4847',
    950: '#000000',
  },
}
SCSS
$custom: #0c4847;
$custom-light: #587b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4847",
  "rgb": {
    "r": 12,
    "g": 72,
    "b": 71
  },
  "hsl": {
    "h": 179,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36567,
    "c": 0.05761,
    "h": 193.2
  },
  "luminance": 0.05168
}

Semantic roles & 50–950 ramp

primary
#0C4847
secondary
#842C2D
accent
#3A3DEE
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040909
muted
#797B7B

Preview Lab

Preview with #0C4847

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

Preview Lab → · Contrast checker → · Palette generator →

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