#0C4036#0C4036

#0C4036 is a dark, muted teal. Relative luminance 0.040; OKLCH L 33.5% C 0.056 H 176.8°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#0C4036
RGBrgb(12, 64, 54)
HSLhsl(168, 68%, 15%)
HSVhsv(168, 81%, 25%)
CMYKcmyk(81.2%, 0%, 15.6%, 74.9%)
CIE-LABlab(23.71, -19.53, 1.30)
CIE-LCHlch(23.71, 19.57, 176.20°)
OKLaboklab(33.53% -0.0558 0.0031)
OKLCHoklch(33.53% 0.056 176.8)
XYZxyz(2.6505, 4.0110, 4.1238)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4036 #400C16
analogous
#0C401C #0C4036 #0C3040
triadic
#0C4036 #360C40 #40360C
tetradic
#0C4036 #1C0C40 #400C16 #30400C
square
#0C4036 #1C0C40 #400C16 #30400C
split-complementary
#0C4036 #400C30 #401C0C
monochromatic
#051A16 #051A16 #0C4036 #167461 #1FA78D

Accessibility & contrast

On white

11.65
#0C4036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#0C4036 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4036
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4036#FFFFFF#000000##FFFFFF
##0C40361.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3B36
Deuteranopia (green-blind)
#363637
Tritanopia (blue-blind)
#00413D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c4036;
/* rgb */ color: rgb(12, 64, 54);
/* oklch */ color: oklch(33.5% 0.056 176.8);
Tailwind
colors: {
  custom: {
    50: '#54756c',
    500: '#0c4036',
    950: '#000000',
  },
}
SCSS
$custom: #0c4036;
$custom-light: #54756c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4036",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 54
  },
  "hsl": {
    "h": 168.462,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33528,
    "c": 0.05589,
    "h": 176.8
  },
  "luminance": 0.04011
}

Semantic roles & 50–950 ramp

primary
#0C4036
secondary
#7C2C3B
accent
#3D5EEB
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030807
muted
#787B7A

Preview Lab

Preview with #0C4036

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

Preview Lab → · Contrast checker → · Palette generator →

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