#0C4F45#0C4F45

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

Color values

HEX#0C4F45
RGBrgb(12, 79, 69)
HSLhsl(171, 74%, 18%)
HSVhsv(171, 85%, 31%)
CMYKcmyk(84.8%, 0%, 12.7%, 69%)
CIE-LABlab(29.66, -22.59, 0.18)
CIE-LCHlch(29.66, 22.59, 179.53°)
OKLaboklab(38.55% -0.0652 0.0001)
OKLCHoklch(38.55% 0.065 179.9)
XYZxyz(4.0212, 6.0993, 6.5944)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F45 #4F0C16
analogous
#0C4F24 #0C4F45 #0C374F
triadic
#0C4F45 #450C4F #4F450C
tetradic
#0C4F45 #240C4F #4F0C16 #374F0C
square
#0C4F45 #240C4F #4F0C16 #374F0C
split-complementary
#0C4F45 #4F0C37 #4F240C
monochromatic
#041B17 #041B17 #0C4F45 #148473 #1CB9A2

Accessibility & contrast

On white

9.46
#0C4F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4F45
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4F45#FFFFFF#000000##FFFFFF
##0C4F451.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4f45;
/* rgb */ color: rgb(12, 79, 69);
/* oklch */ color: oklch(38.5% 0.065 179.9);
Tailwind
colors: {
  custom: {
    50: '#598178',
    500: '#0c4f45',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f45;
$custom-light: #598178;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f45",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 69
  },
  "hsl": {
    "h": 171.045,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38546,
    "c": 0.06524,
    "h": 179.9
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#0C4F45
secondary
#8B2C3A
accent
#3853F0
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #0C4F45

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

Preview Lab → · Contrast checker → · Palette generator →

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