#0C4D47#0C4D47

#0C4D47 is a dark, moderate teal. Relative luminance 0.058; OKLCH L 38.0% C 0.062 H 185.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#0C4D47
RGBrgb(12, 77, 71)
HSLhsl(174, 73%, 17%)
HSVhsv(174, 84%, 30%)
CMYKcmyk(84.4%, 0%, 7.8%, 69.8%)
CIE-LABlab(29.01, -20.91, -2.06)
CIE-LCHlch(29.01, 21.02, 185.63°)
OKLaboklab(38.03% -0.0619 -0.0059)
OKLCHoklch(38.03% 0.062 185.5)
XYZxyz(3.9423, 5.8404, 6.8795)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D47 #4D0C12
analogous
#0C4D27 #0C4D47 #0C324D
triadic
#0C4D47 #470C4D #4D470C
tetradic
#0C4D47 #270C4D #4D0C12 #324D0C
square
#0C4D47 #270C4D #4D0C12 #324D0C
split-complementary
#0C4D47 #4D0C32 #4D270C
monochromatic
#041A18 #041A18 #0C4D47 #148278 #1DB7A9

Accessibility & contrast

On white

9.69
#0C4D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#0C4D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D47
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D47#FFFFFF#000000##FFFFFF
##0C4D471.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494847
Deuteranopia (green-blind)
#404248
Tritanopia (blue-blind)
#004F4B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0c4d47;
/* rgb */ color: rgb(12, 77, 71);
/* oklch */ color: oklch(38.0% 0.062 185.5);
Tailwind
colors: {
  custom: {
    50: '#597f7a',
    500: '#0c4d47',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d47;
$custom-light: #597f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d47",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 71
  },
  "hsl": {
    "h": 174.462,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38032,
    "c": 0.06214,
    "h": 185.5
  },
  "luminance": 0.05841
}

Semantic roles & 50–950 ramp

primary
#0C4D47
secondary
#892C35
accent
#3849F0
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #0C4D47

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

Preview Lab → · Contrast checker → · Palette generator →

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