#0C4034#0C4034

#0C4034 is a dark, muted teal. Relative luminance 0.040; OKLCH L 33.5% C 0.057 H 173.6°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#0C4034
RGBrgb(12, 64, 52)
HSLhsl(166, 68%, 15%)
HSVhsv(166, 81%, 25%)
CMYKcmyk(81.2%, 0%, 18.8%, 74.9%)
CIE-LABlab(23.65, -20.15, 2.53)
CIE-LCHlch(23.65, 20.31, 172.83°)
OKLaboklab(33.46% -0.0569 0.0064)
OKLCHoklch(33.46% 0.057 173.6)
XYZxyz(2.6045, 3.9926, 3.8815)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4034 #400C18
analogous
#0C401A #0C4034 #0C3240
triadic
#0C4034 #340C40 #40340C
tetradic
#0C4034 #1A0C40 #400C18 #32400C
square
#0C4034 #1A0C40 #400C18 #32400C
split-complementary
#0C4034 #400C32 #401A0C
monochromatic
#051A15 #051A15 #0C4034 #16745E #1FA788

Accessibility & contrast

On white

11.68
#0C4034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4034
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4034#FFFFFF#000000##FFFFFF
##0C40341.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B33
Deuteranopia (green-blind)
#373635
Tritanopia (blue-blind)
#00413C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c4034;
/* rgb */ color: rgb(12, 64, 52);
/* oklch */ color: oklch(33.5% 0.057 173.6);
Tailwind
colors: {
  custom: {
    50: '#54756b',
    500: '#0c4034',
    950: '#000000',
  },
}
SCSS
$custom: #0c4034;
$custom-light: #54756b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4034",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 52
  },
  "hsl": {
    "h": 166.154,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33458,
    "c": 0.05729,
    "h": 173.6
  },
  "luminance": 0.03993
}

Semantic roles & 50–950 ramp

primary
#0C4034
secondary
#7C2C3E
accent
#3D65EB
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #0C4034

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

Preview Lab → · Contrast checker → · Palette generator →

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