#0C4A39#0C4A39

#0C4A39 is a dark, moderate teal. Relative luminance 0.053; OKLCH L 36.7% C 0.067 H 169.6°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#0C4A39
RGBrgb(12, 74, 57)
HSLhsl(164, 72%, 17%)
HSVhsv(164, 84%, 29%)
CMYKcmyk(83.8%, 0%, 23%, 71%)
CIE-LABlab(27.49, -23.72, 4.77)
CIE-LCHlch(27.49, 24.20, 168.62°)
OKLaboklab(36.65% -0.0661 0.0122)
OKLCHoklch(36.65% 0.067 169.6)
XYZxyz(3.3385, 5.2707, 4.7115)
Luminance0.0527 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A39 #4A0C1D
analogous
#0C4A1A #0C4A39 #0C3C4A
triadic
#0C4A39 #390C4A #4A390C
tetradic
#0C4A39 #1A0C4A #4A0C1D #3C4A0C
square
#0C4A39 #1A0C4A #4A0C1D #3C4A0C
split-complementary
#0C4A39 #4A0C3C #4A1A0C
monochromatic
#041A14 #041A14 #0C4A39 #157F62 #1DB38A

Accessibility & contrast

On white

10.22
#0C4A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4A39
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A39#FFFFFF#000000##FFFFFF
##0C4A391.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484438
Deuteranopia (green-blind)
#403F3A
Tritanopia (blue-blind)
#004B45
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4a39;
/* rgb */ color: rgb(12, 74, 57);
/* oklch */ color: oklch(36.7% 0.067 169.6);
Tailwind
colors: {
  custom: {
    50: '#577d6f',
    500: '#0c4a39',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a39;
$custom-light: #577d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a39",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 57
  },
  "hsl": {
    "h": 163.548,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36654,
    "c": 0.06719,
    "h": 169.6
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#0C4A39
secondary
#862C45
accent
#396BEF
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040907
muted
#797B7A

Preview Lab

Preview with #0C4A39

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

Preview Lab → · Contrast checker → · Palette generator →

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