#0C5541#0C5541

#0C5541 is a dark, moderate teal. Relative luminance 0.070; OKLCH L 40.2% C 0.076 H 169.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#0C5541
RGBrgb(12, 85, 65)
HSLhsl(164, 75%, 19%)
HSVhsv(164, 86%, 33%)
CMYKcmyk(85.9%, 0%, 23.5%, 66.7%)
CIE-LABlab(31.71, -26.73, 5.67)
CIE-LCHlch(31.71, 27.33, 168.02°)
OKLaboklab(40.18% -0.0743 0.0145)
OKLCHoklch(40.18% 0.076 169)
XYZxyz(4.3537, 6.9563, 6.1132)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5541 #550C20
analogous
#0C551D #0C5541 #0C4555
triadic
#0C5541 #410C55 #55410C
tetradic
#0C5541 #1D0C55 #550C20 #45550C
square
#0C5541 #1D0C55 #550C20 #45550C
split-complementary
#0C5541 #550C45 #551D0C
monochromatic
#041B15 #041F18 #0C5541 #148B6A #1BC093

Accessibility & contrast

On white

8.78
#0C5541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#0C5541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5541
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5541#FFFFFF#000000##FFFFFF
##0C55411.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524E40
Deuteranopia (green-blind)
#494842
Tritanopia (blue-blind)
#00564F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0c5541;
/* rgb */ color: rgb(12, 85, 65);
/* oklch */ color: oklch(40.2% 0.076 169.0);
Tailwind
colors: {
  custom: {
    50: '#5a8575',
    500: '#0c5541',
    950: '#000000',
  },
}
SCSS
$custom: #0c5541;
$custom-light: #5a8575;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5541",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 65
  },
  "hsl": {
    "h": 163.562,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40183,
    "c": 0.07566,
    "h": 169
  },
  "luminance": 0.06957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0C5541

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

Preview Lab → · Contrast checker → · Palette generator →

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