#0C4638#0C4638

#0C4638 is a dark, moderate teal. Relative luminance 0.047; OKLCH L 35.4% C 0.062 H 172.4°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#0C4638
RGBrgb(12, 70, 56)
HSLhsl(166, 71%, 16%)
HSVhsv(166, 83%, 27%)
CMYKcmyk(82.9%, 0%, 20%, 72.5%)
CIE-LABlab(25.99, -22.02, 3.28)
CIE-LCHlch(25.99, 22.26, 171.54°)
OKLaboklab(35.42% -0.0619 0.0083)
OKLCHoklch(35.42% 0.062 172.4)
XYZxyz(3.0552, 4.7436, 4.4952)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4638 #460C1A
analogous
#0C461B #0C4638 #0C3746
triadic
#0C4638 #380C46 #46380C
tetradic
#0C4638 #1B0C46 #460C1A #37460C
square
#0C4638 #1B0C46 #460C1A #37460C
split-complementary
#0C4638 #460C37 #461B0C
monochromatic
#041A15 #041A15 #0C4638 #157A62 #1EAE8C

Accessibility & contrast

On white

10.78
#0C4638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#0C4638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4638
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4638#FFFFFF#000000##FFFFFF
##0C46381.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434137
Deuteranopia (green-blind)
#3C3B39
Tritanopia (blue-blind)
#004742
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0c4638;
/* rgb */ color: rgb(12, 70, 56);
/* oklch */ color: oklch(35.4% 0.062 172.4);
Tailwind
colors: {
  custom: {
    50: '#567a6e',
    500: '#0c4638',
    950: '#000000',
  },
}
SCSS
$custom: #0c4638;
$custom-light: #567a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4638",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 56
  },
  "hsl": {
    "h": 165.517,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35415,
    "c": 0.06247,
    "h": 172.4
  },
  "luminance": 0.04744
}

Semantic roles & 50–950 ramp

primary
#0C4638
secondary
#822C41
accent
#3A66ED
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030907
muted
#787B7A

Preview Lab

Preview with #0C4638

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

Preview Lab → · Contrast checker → · Palette generator →

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