#0C4035#0C4035

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

Color values

HEX#0C4035
RGBrgb(12, 64, 53)
HSLhsl(167, 68%, 15%)
HSVhsv(167, 81%, 25%)
CMYKcmyk(81.2%, 0%, 17.2%, 74.9%)
CIE-LABlab(23.68, -19.84, 1.92)
CIE-LCHlch(23.68, 19.93, 174.49°)
OKLaboklab(33.49% -0.0564 0.0048)
OKLCHoklch(33.49% 0.057 175.2)
XYZxyz(2.6273, 4.0017, 4.0014)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4035 #400C17
analogous
#0C401B #0C4035 #0C3140
triadic
#0C4035 #350C40 #40350C
tetradic
#0C4035 #1B0C40 #400C17 #31400C
square
#0C4035 #1B0C40 #400C17 #31400C
split-complementary
#0C4035 #400C31 #401B0C
monochromatic
#051A15 #051A15 #0C4035 #167460 #1FA78A

Accessibility & contrast

On white

11.66
#0C4035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4035
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4035#FFFFFF#000000##FFFFFF
##0C40351.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3B35
Deuteranopia (green-blind)
#363636
Tritanopia (blue-blind)
#00413D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c4035;
/* rgb */ color: rgb(12, 64, 53);
/* oklch */ color: oklch(33.5% 0.057 175.2);
Tailwind
colors: {
  custom: {
    50: '#54756c',
    500: '#0c4035',
    950: '#000000',
  },
}
SCSS
$custom: #0c4035;
$custom-light: #54756c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4035",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 53
  },
  "hsl": {
    "h": 167.308,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33492,
    "c": 0.05657,
    "h": 175.2
  },
  "luminance": 0.04002
}

Semantic roles & 50–950 ramp

primary
#0C4035
secondary
#7C2C3D
accent
#3D61EB
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #0C4035

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

Preview Lab → · Contrast checker → · Palette generator →

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