#0C4F47#0C4F47

#0C4F47 is a dark, moderate teal. Relative luminance 0.061; OKLCH L 38.6% C 0.064 H 182.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#0C4F47
RGBrgb(12, 79, 71)
HSLhsl(173, 74%, 18%)
HSVhsv(173, 85%, 31%)
CMYKcmyk(84.8%, 0%, 10.1%, 69%)
CIE-LABlab(29.72, -21.96, -1.00)
CIE-LCHlch(29.72, 21.98, 182.62°)
OKLaboklab(38.62% -0.0642 -0.0031)
OKLCHoklch(38.62% 0.064 182.7)
XYZxyz(4.0844, 6.1246, 6.9269)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F47 #4F0C14
analogous
#0C4F25 #0C4F47 #0C354F
triadic
#0C4F47 #470C4F #4F470C
tetradic
#0C4F47 #250C4F #4F0C14 #354F0C
square
#0C4F47 #250C4F #4F0C14 #354F0C
split-complementary
#0C4F47 #4F0C35 #4F250C
monochromatic
#041B18 #041B18 #0C4F47 #148477 #1CB9A6

Accessibility & contrast

On white

9.44
#0C4F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#0C4F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4F47
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4F47#FFFFFF#000000##FFFFFF
##0C4F471.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4A47
Deuteranopia (green-blind)
#424348
Tritanopia (blue-blind)
#00514C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0c4f47;
/* rgb */ color: rgb(12, 79, 71);
/* oklch */ color: oklch(38.6% 0.064 182.7);
Tailwind
colors: {
  custom: {
    50: '#59817a',
    500: '#0c4f47',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f47;
$custom-light: #59817a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f47",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 71
  },
  "hsl": {
    "h": 172.836,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38618,
    "c": 0.06423,
    "h": 182.7
  },
  "luminance": 0.06125
}

Semantic roles & 50–950 ramp

primary
#0C4F47
secondary
#8B2C38
accent
#384EF0
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #0C4F47

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

Preview Lab → · Contrast checker → · Palette generator →

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