#0C3D2A#0C3D2A

#0C3D2A is a dark, moderate teal. Relative luminance 0.036; OKLCH L 32.2% C 0.062 H 162.8°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#0C3D2A
RGBrgb(12, 61, 42)
HSLhsl(157, 67%, 14%)
HSVhsv(157, 80%, 24%)
CMYKcmyk(80.3%, 0%, 31.1%, 76.1%)
CIE-LABlab(22.24, -21.52, 7.16)
CIE-LCHlch(22.24, 22.68, 161.61°)
OKLaboklab(32.21% -0.059 0.0182)
OKLCHoklch(32.21% 0.062 162.8)
XYZxyz(2.2380, 3.5826, 2.7636)
Luminance0.0358 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3D2A #3D0C1F
analogous
#0C3D12 #0C3D2A #0C383D
triadic
#0C3D2A #2A0C3D #3D2A0C
tetradic
#0C3D2A #120C3D #3D0C1F #383D0C
square
#0C3D2A #120C3D #3D0C1F #383D0C
split-complementary
#0C3D2A #3D0C38 #3D120C
monochromatic
#051A12 #051A12 #0C3D2A #16704D #20A370

Accessibility & contrast

On white

12.23
#0C3D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#0C3D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3D2A
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3D2A#FFFFFF#000000##FFFFFF
##0C3D2A1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3829
Deuteranopia (green-blind)
#35332B
Tritanopia (blue-blind)
#003D38
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0c3d2a;
/* rgb */ color: rgb(12, 61, 42);
/* oklch */ color: oklch(32.2% 0.062 162.8);
Tailwind
colors: {
  custom: {
    50: '#537363',
    500: '#0c3d2a',
    950: '#000000',
  },
}
SCSS
$custom: #0c3d2a;
$custom-light: #537363;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3d2a",
  "rgb": {
    "r": 12,
    "g": 61,
    "b": 42
  },
  "hsl": {
    "h": 156.735,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.32214,
    "c": 0.06175,
    "h": 162.8
  },
  "luminance": 0.03583
}

Semantic roles & 50–950 ramp

primary
#0C3D2A
secondary
#792C4A
accent
#3E81EA
background
#F4F7F5
surface
#E8EDEA
border
#C4C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0C3D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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