#0C4537#0C4537

#0C4537 is a dark, moderate teal. Relative luminance 0.046; OKLCH L 35.1% C 0.062 H 172.1°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#0C4537
RGBrgb(12, 69, 55)
HSLhsl(165, 70%, 16%)
HSVhsv(165, 83%, 27%)
CMYKcmyk(82.6%, 0%, 20.3%, 72.9%)
CIE-LABlab(25.59, -21.81, 3.36)
CIE-LCHlch(25.59, 22.07, 171.25°)
OKLaboklab(35.08% -0.0613 0.0085)
OKLCHoklch(35.08% 0.062 172.1)
XYZxyz(2.9690, 4.6099, 4.3470)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4537 #450C1A
analogous
#0C451A #0C4537 #0C3645
triadic
#0C4537 #370C45 #45370C
tetradic
#0C4537 #1A0C45 #450C1A #36450C
square
#0C4537 #1A0C45 #450C1A #36450C
split-complementary
#0C4537 #450C36 #451A0C
monochromatic
#051A15 #051A15 #0C4537 #157961 #1EAD8A

Accessibility & contrast

On white

10.93
#0C4537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4537
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4537#FFFFFF#000000##FFFFFF
##0C45371.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4537;
/* rgb */ color: rgb(12, 69, 55);
/* oklch */ color: oklch(35.1% 0.062 172.1);
Tailwind
colors: {
  custom: {
    50: '#56796d',
    500: '#0c4537',
    950: '#000000',
  },
}
SCSS
$custom: #0c4537;
$custom-light: #56796d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4537",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 55
  },
  "hsl": {
    "h": 165.263,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35079,
    "c": 0.06187,
    "h": 172.1
  },
  "luminance": 0.0461
}

Semantic roles & 50–950 ramp

primary
#0C4537
secondary
#812C41
accent
#3B66ED
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030907
muted
#787B7A

Preview Lab

Preview with #0C4537

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

Preview Lab → · Contrast checker → · Palette generator →

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