#0C4138#0C4138

#0C4138 is a dark, muted teal. Relative luminance 0.041; OKLCH L 33.9% C 0.056 H 178.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#0C4138
RGBrgb(12, 65, 56)
HSLhsl(170, 69%, 15%)
HSVhsv(170, 82%, 25%)
CMYKcmyk(81.5%, 0%, 13.8%, 74.5%)
CIE-LABlab(24.14, -19.43, 0.60)
CIE-LCHlch(24.14, 19.44, 178.22°)
OKLaboklab(33.9% -0.0559 0.0013)
OKLCHoklch(33.9% 0.056 178.7)
XYZxyz(2.7554, 4.1440, 4.3953)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4138 #410C15
analogous
#0C411D #0C4138 #0C3041
triadic
#0C4138 #380C41 #41380C
tetradic
#0C4138 #1D0C41 #410C15 #30410C
square
#0C4138 #1D0C41 #410C15 #30410C
split-complementary
#0C4138 #410C30 #411D0C
monochromatic
#051A16 #051A16 #0C4138 #167565 #1FA891

Accessibility & contrast

On white

11.48
#0C4138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#0C4138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4138
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4138#FFFFFF#000000##FFFFFF
##0C41381.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3C38
Deuteranopia (green-blind)
#373739
Tritanopia (blue-blind)
#00423E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0c4138;
/* rgb */ color: rgb(12, 65, 56);
/* oklch */ color: oklch(33.9% 0.056 178.7);
Tailwind
colors: {
  custom: {
    50: '#55766e',
    500: '#0c4138',
    950: '#000000',
  },
}
SCSS
$custom: #0c4138;
$custom-light: #55766e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4138",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 56
  },
  "hsl": {
    "h": 169.811,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33903,
    "c": 0.0559,
    "h": 178.7
  },
  "luminance": 0.04144
}

Semantic roles & 50–950 ramp

primary
#0C4138
secondary
#7D2C3A
accent
#3C5AEC
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030807
muted
#787B7A

Preview Lab

Preview with #0C4138

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

Preview Lab → · Contrast checker → · Palette generator →

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