#0C3C2F#0C3C2F

#0C3C2F is a dark, muted teal. Relative luminance 0.035; OKLCH L 32.1% C 0.056 H 170.8°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#0C3C2F
RGBrgb(12, 60, 47)
HSLhsl(164, 67%, 14%)
HSVhsv(164, 80%, 24%)
CMYKcmyk(80%, 0%, 21.7%, 76.5%)
CIE-LABlab(22.00, -19.58, 3.49)
CIE-LCHlch(22.00, 19.89, 169.88°)
OKLaboklab(32.06% -0.0548 0.0089)
OKLCHoklch(32.06% 0.056 170.8)
XYZxyz(2.2803, 3.5149, 3.2470)
Luminance0.0352 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3C2F #3C0C19
analogous
#0C3C17 #0C3C2F #0C313C
triadic
#0C3C2F #2F0C3C #3C2F0C
tetradic
#0C3C2F #170C3C #3C0C19 #313C0C
square
#0C3C2F #170C3C #3C0C19 #313C0C
split-complementary
#0C3C2F #3C0C31 #3C170C
monochromatic
#051A14 #051A14 #0C3C2F #166F57 #20A27F

Accessibility & contrast

On white

12.33
#0C3C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#0C3C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3C2F
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3C2F#FFFFFF#000000##FFFFFF
##0C3C2F1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A372E
Deuteranopia (green-blind)
#343330
Tritanopia (blue-blind)
#003D38
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0c3c2f;
/* rgb */ color: rgb(12, 60, 47);
/* oklch */ color: oklch(32.1% 0.056 170.8);
Tailwind
colors: {
  custom: {
    50: '#537267',
    500: '#0c3c2f',
    950: '#000000',
  },
}
SCSS
$custom: #0c3c2f;
$custom-light: #537267;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3c2f",
  "rgb": {
    "r": 12,
    "g": 60,
    "b": 47
  },
  "hsl": {
    "h": 163.75,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.3206,
    "c": 0.05557,
    "h": 170.8
  },
  "luminance": 0.03515
}

Semantic roles & 50–950 ramp

primary
#0C3C2F
secondary
#782C40
accent
#3E6DEA
background
#F4F6F6
surface
#E8ECEB
border
#C4C7C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #0C3C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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