#0C5642#0C5642

#0C5642 is a dark, moderate teal. Relative luminance 0.071; OKLCH L 40.5% C 0.076 H 169.2°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#0C5642
RGBrgb(12, 86, 66)
HSLhsl(164, 76%, 19%)
HSVhsv(164, 86%, 34%)
CMYKcmyk(86%, 0%, 23.3%, 66.3%)
CIE-LABlab(32.09, -26.92, 5.59)
CIE-LCHlch(32.09, 27.50, 168.27°)
OKLaboklab(40.51% -0.0748 0.0143)
OKLCHoklch(40.51% 0.076 169.2)
XYZxyz(4.4622, 7.1265, 6.2936)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5642 #560C20
analogous
#0C561D #0C5642 #0C4556
triadic
#0C5642 #420C56 #56420C
tetradic
#0C5642 #1D0C56 #560C20 #45560C
square
#0C5642 #1D0C56 #560C20 #45560C
split-complementary
#0C5642 #560C45 #561D0C
monochromatic
#041B15 #052019 #0C5642 #138C6B #1BC194

Accessibility & contrast

On white

8.66
#0C5642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#0C5642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5642
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5642#FFFFFF#000000##FFFFFF
##0C56421.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534F41
Deuteranopia (green-blind)
#4A4943
Tritanopia (blue-blind)
#005750
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0c5642;
/* rgb */ color: rgb(12, 86, 66);
/* oklch */ color: oklch(40.5% 0.076 169.2);
Tailwind
colors: {
  custom: {
    50: '#5a8676',
    500: '#0c5642',
    950: '#000000',
  },
}
SCSS
$custom: #0c5642;
$custom-light: #5a8676;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5642",
  "rgb": {
    "r": 12,
    "g": 86,
    "b": 66
  },
  "hsl": {
    "h": 163.784,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40509,
    "c": 0.07619,
    "h": 169.2
  },
  "luminance": 0.07127
}

Semantic roles & 50–950 ramp

primary
#0C5642
secondary
#912D48
accent
#3669F2
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #0C5642

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

Preview Lab → · Contrast checker → · Palette generator →

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