#0C5741#0C5741

#0C5741 is a dark, moderate teal. Relative luminance 0.073; OKLCH L 40.8% C 0.078 H 167.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#0C5741
RGBrgb(12, 87, 65)
HSLhsl(162, 76%, 19%)
HSVhsv(162, 86%, 34%)
CMYKcmyk(86.2%, 0%, 25.3%, 65.9%)
CIE-LABlab(32.43, -27.67, 6.69)
CIE-LCHlch(32.43, 28.47, 166.41°)
OKLaboklab(40.77% -0.0765 0.0171)
OKLCHoklch(40.77% 0.078 167.4)
XYZxyz(4.5134, 7.2756, 6.1665)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5741 #570C22
analogous
#0C571C #0C5741 #0C4857
triadic
#0C5741 #410C57 #57410C
tetradic
#0C5741 #1C0C57 #570C22 #48570C
square
#0C5741 #1C0C57 #570C22 #48570C
split-complementary
#0C5741 #570C48 #571C0C
monochromatic
#041B14 #052119 #0C5741 #138D69 #1BC391

Accessibility & contrast

On white

8.55
#0C5741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#0C5741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5741
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5741#FFFFFF#000000##FFFFFF
##0C57411.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555040
Deuteranopia (green-blind)
#4C4A42
Tritanopia (blue-blind)
#005751
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0c5741;
/* rgb */ color: rgb(12, 87, 65);
/* oklch */ color: oklch(40.8% 0.078 167.4);
Tailwind
colors: {
  custom: {
    50: '#5a8775',
    500: '#0c5741',
    950: '#000000',
  },
}
SCSS
$custom: #0c5741;
$custom-light: #5a8775;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5741",
  "rgb": {
    "r": 12,
    "g": 87,
    "b": 65
  },
  "hsl": {
    "h": 162.4,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40774,
    "c": 0.0784,
    "h": 167.4
  },
  "luminance": 0.07276
}

Semantic roles & 50–950 ramp

primary
#0C5741
secondary
#922D4A
accent
#356DF2
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #0C5741

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

Preview Lab → · Contrast checker → · Palette generator →

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