#0C4941#0C4941

#0C4941 is a dark, moderate teal. Relative luminance 0.052; OKLCH L 36.6% C 0.060 H 181.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#0C4941
RGBrgb(12, 73, 65)
HSLhsl(172, 72%, 17%)
HSVhsv(172, 84%, 29%)
CMYKcmyk(83.6%, 0%, 11%, 71.4%)
CIE-LABlab(27.36, -20.77, -0.59)
CIE-LCHlch(27.36, 20.77, 181.63°)
OKLaboklab(36.63% -0.0605 -0.0019)
OKLCHoklch(36.63% 0.06 181.8)
XYZxyz(3.4878, 5.2245, 5.8246)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4941 #490C14
analogous
#0C4923 #0C4941 #0C3349
triadic
#0C4941 #410C49 #49410C
tetradic
#0C4941 #230C49 #490C14 #33490C
square
#0C4941 #230C49 #490C14 #33490C
split-complementary
#0C4941 #490C33 #49230C
monochromatic
#041A17 #041A17 #0C4941 #157E70 #1DB29F

Accessibility & contrast

On white

10.27
#0C4941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#0C4941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4941
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4941#FFFFFF#000000##FFFFFF
##0C49411.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454441
Deuteranopia (green-blind)
#3D3E42
Tritanopia (blue-blind)
#004B47
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4941;
/* rgb */ color: rgb(12, 73, 65);
/* oklch */ color: oklch(36.6% 0.060 181.8);
Tailwind
colors: {
  custom: {
    50: '#577c75',
    500: '#0c4941',
    950: '#000000',
  },
}
SCSS
$custom: #0c4941;
$custom-light: #577c75;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4941",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 65
  },
  "hsl": {
    "h": 172.131,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36629,
    "c": 0.06049,
    "h": 181.8
  },
  "luminance": 0.05225
}

Semantic roles & 50–950 ramp

primary
#0C4941
secondary
#852C38
accent
#3951EE
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040908
muted
#797B7B

Preview Lab

Preview with #0C4941

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

Preview Lab → · Contrast checker → · Palette generator →

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