#0C4536#0C4536

#0C4536 is a dark, moderate teal. Relative luminance 0.046; OKLCH L 35.0% C 0.063 H 170.7°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#0C4536
RGBrgb(12, 69, 54)
HSLhsl(164, 70%, 16%)
HSVhsv(164, 83%, 27%)
CMYKcmyk(82.6%, 0%, 21.7%, 72.9%)
CIE-LABlab(25.56, -22.11, 3.97)
CIE-LCHlch(25.56, 22.46, 169.82°)
OKLaboklab(35.05% -0.0618 0.0101)
OKLCHoklch(35.05% 0.063 170.7)
XYZxyz(2.9452, 4.6004, 4.2221)
Luminance0.0460 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4536 #450C1B
analogous
#0C4519 #0C4536 #0C3745
triadic
#0C4536 #360C45 #45360C
tetradic
#0C4536 #190C45 #450C1B #37450C
square
#0C4536 #190C45 #450C1B #37450C
split-complementary
#0C4536 #450C37 #45190C
monochromatic
#051A14 #051A14 #0C4536 #15795F #1EAD88

Accessibility & contrast

On white

10.94
#0C4536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#0C4536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4536
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4536#FFFFFF#000000##FFFFFF
##0C45361.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434035
Deuteranopia (green-blind)
#3B3A37
Tritanopia (blue-blind)
#004641
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c4536;
/* rgb */ color: rgb(12, 69, 54);
/* oklch */ color: oklch(35.0% 0.063 170.7);
Tailwind
colors: {
  custom: {
    50: '#55796d',
    500: '#0c4536',
    950: '#000000',
  },
}
SCSS
$custom: #0c4536;
$custom-light: #55796d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4536",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 54
  },
  "hsl": {
    "h": 164.211,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35046,
    "c": 0.06267,
    "h": 170.7
  },
  "luminance": 0.04601
}

Semantic roles & 50–950 ramp

primary
#0C4536
secondary
#812C42
accent
#3B6AED
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030907
muted
#787B7A

Preview Lab

Preview with #0C4536

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

Preview Lab → · Contrast checker → · Palette generator →

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