#0C4541#0C4541

#0C4541 is a dark, muted teal. Relative luminance 0.047; OKLCH L 35.4% C 0.056 H 187.9°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#0C4541
RGBrgb(12, 69, 65)
HSLhsl(176, 70%, 16%)
HSVhsv(176, 83%, 27%)
CMYKcmyk(82.6%, 0%, 5.8%, 72.9%)
CIE-LABlab(25.91, -18.63, -2.73)
CIE-LCHlch(25.91, 18.83, 188.35°)
OKLaboklab(35.44% -0.0557 -0.0077)
OKLCHoklch(35.44% 0.056 187.9)
XYZxyz(3.2334, 4.7157, 5.7398)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4541 #450C10
analogous
#0C4524 #0C4541 #0C2C45
triadic
#0C4541 #410C45 #45410C
tetradic
#0C4541 #240C45 #450C10 #2C450C
square
#0C4541 #240C45 #450C10 #2C450C
split-complementary
#0C4541 #450C2C #45240C
monochromatic
#051A19 #051A19 #0C4541 #157972 #1EADA3

Accessibility & contrast

On white

10.81
#0C4541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#0C4541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4541
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4541#FFFFFF#000000##FFFFFF
##0C45411.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414141
Deuteranopia (green-blind)
#393B42
Tritanopia (blue-blind)
#004744
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c4541;
/* rgb */ color: rgb(12, 69, 65);
/* oklch */ color: oklch(35.4% 0.056 187.9);
Tailwind
colors: {
  custom: {
    50: '#567975',
    500: '#0c4541',
    950: '#000000',
  },
}
SCSS
$custom: #0c4541;
$custom-light: #567975;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4541",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 65
  },
  "hsl": {
    "h": 175.789,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35442,
    "c": 0.05628,
    "h": 187.9
  },
  "luminance": 0.04716
}

Semantic roles & 50–950 ramp

primary
#0C4541
secondary
#812C32
accent
#3B47ED
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#030908
muted
#787B7B

Preview Lab

Preview with #0C4541

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

Preview Lab → · Contrast checker → · Palette generator →

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