#0C3C2A#0C3C2A

#0C3C2A is a dark, moderate teal. Relative luminance 0.035; OKLCH L 31.9% C 0.060 H 163.7°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#0C3C2A
RGBrgb(12, 60, 42)
HSLhsl(158, 67%, 14%)
HSVhsv(158, 80%, 24%)
CMYKcmyk(80%, 0%, 30%, 76.5%)
CIE-LABlab(21.86, -21.02, 6.63)
CIE-LCHlch(21.86, 22.04, 162.50°)
OKLaboklab(31.9% -0.0577 0.0169)
OKLCHoklch(31.9% 0.06 163.7)
XYZxyz(2.1852, 3.4768, 2.7460)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3C2A #3C0C1E
analogous
#0C3C12 #0C3C2A #0C363C
triadic
#0C3C2A #2A0C3C #3C2A0C
tetradic
#0C3C2A #120C3C #3C0C1E #363C0C
square
#0C3C2A #120C3C #3C0C1E #363C0C
split-complementary
#0C3C2A #3C0C36 #3C120C
monochromatic
#051A12 #051A12 #0C3C2A #166F4E #20A271

Accessibility & contrast

On white

12.39
#0C3C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3C2A
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3C2A#FFFFFF#000000##FFFFFF
##0C3C2A1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3729
Deuteranopia (green-blind)
#34332B
Tritanopia (blue-blind)
#003C37
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0c3c2a;
/* rgb */ color: rgb(12, 60, 42);
/* oklch */ color: oklch(31.9% 0.060 163.7);
Tailwind
colors: {
  custom: {
    50: '#537263',
    500: '#0c3c2a',
    950: '#000000',
  },
}
SCSS
$custom: #0c3c2a;
$custom-light: #537263;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3c2a",
  "rgb": {
    "r": 12,
    "g": 60,
    "b": 42
  },
  "hsl": {
    "h": 157.5,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31902,
    "c": 0.06017,
    "h": 163.7
  },
  "luminance": 0.03477
}

Semantic roles & 50–950 ramp

primary
#0C3C2A
secondary
#782C48
accent
#3E7EEA
background
#F4F6F5
surface
#E8ECEA
border
#C4C7C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0C3C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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