#0C4F46#0C4F46

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

Color values

HEX#0C4F46
RGBrgb(12, 79, 70)
HSLhsl(172, 74%, 18%)
HSVhsv(172, 85%, 31%)
CMYKcmyk(84.8%, 0%, 11.4%, 69%)
CIE-LABlab(29.69, -22.28, -0.41)
CIE-LCHlch(29.69, 22.28, 181.06°)
OKLaboklab(38.58% -0.0647 -0.0015)
OKLCHoklch(38.58% 0.065 181.3)
XYZxyz(4.0525, 6.1118, 6.7593)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F46 #4F0C15
analogous
#0C4F24 #0C4F46 #0C364F
triadic
#0C4F46 #460C4F #4F460C
tetradic
#0C4F46 #240C4F #4F0C15 #364F0C
square
#0C4F46 #240C4F #4F0C15 #364F0C
split-complementary
#0C4F46 #4F0C36 #4F240C
monochromatic
#041B18 #041B18 #0C4F46 #148475 #1CB9A4

Accessibility & contrast

On white

9.45
#0C4F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#0C4F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4F46
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4F46#FFFFFF#000000##FFFFFF
##0C4F461.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4f46;
/* rgb */ color: rgb(12, 79, 70);
/* oklch */ color: oklch(38.6% 0.065 181.3);
Tailwind
colors: {
  custom: {
    50: '#598179',
    500: '#0c4f46',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f46;
$custom-light: #598179;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f46",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 70
  },
  "hsl": {
    "h": 171.94,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38582,
    "c": 0.06472,
    "h": 181.3
  },
  "luminance": 0.06112
}

Semantic roles & 50–950 ramp

primary
#0C4F46
secondary
#8B2C39
accent
#3850F0
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #0C4F46

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

Preview Lab → · Contrast checker → · Palette generator →

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