#0C4037#0C4037

#0C4037 is a dark, muted teal. Relative luminance 0.040; OKLCH L 33.6% C 0.055 H 178.4°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#0C4037
RGBrgb(12, 64, 55)
HSLhsl(170, 68%, 15%)
HSVhsv(170, 81%, 25%)
CMYKcmyk(81.2%, 0%, 14.1%, 74.9%)
CIE-LABlab(23.74, -19.21, 0.68)
CIE-LCHlch(23.74, 19.23, 177.98°)
OKLaboklab(33.56% -0.0552 0.0015)
OKLCHoklch(33.56% 0.055 178.4)
XYZxyz(2.6743, 4.0205, 4.2488)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4037 #400C15
analogous
#0C401D #0C4037 #0C2F40
triadic
#0C4037 #370C40 #40370C
tetradic
#0C4037 #1D0C40 #400C15 #2F400C
square
#0C4037 #1D0C40 #400C15 #2F400C
split-complementary
#0C4037 #400C2F #401D0C
monochromatic
#051A16 #051A16 #0C4037 #167463 #1FA790

Accessibility & contrast

On white

11.64
#0C4037 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4037
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4037#FFFFFF#000000##FFFFFF
##0C40371.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4037;
/* rgb */ color: rgb(12, 64, 55);
/* oklch */ color: oklch(33.6% 0.055 178.4);
Tailwind
colors: {
  custom: {
    50: '#54756d',
    500: '#0c4037',
    950: '#000000',
  },
}
SCSS
$custom: #0c4037;
$custom-light: #54756d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4037",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 55
  },
  "hsl": {
    "h": 169.615,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33564,
    "c": 0.05526,
    "h": 178.4
  },
  "luminance": 0.04021
}

Semantic roles & 50–950 ramp

primary
#0C4037
secondary
#7C2C3A
accent
#3D5BEB
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030807
muted
#787B7A

Preview Lab

Preview with #0C4037

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

Preview Lab → · Contrast checker → · Palette generator →

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