#0C5540#0C5540

#0C5540 is a dark, moderate teal. Relative luminance 0.069; OKLCH L 40.2% C 0.077 H 167.9°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#0C5540
RGBrgb(12, 85, 64)
HSLhsl(163, 75%, 19%)
HSVhsv(163, 86%, 33%)
CMYKcmyk(85.9%, 0%, 24.7%, 66.7%)
CIE-LABlab(31.68, -27.02, 6.26)
CIE-LCHlch(31.68, 27.73, 166.95°)
OKLaboklab(40.15% -0.0748 0.016)
OKLCHoklch(40.15% 0.077 167.9)
XYZxyz(4.3250, 6.9448, 5.9620)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5540 #550C21
analogous
#0C551C #0C5540 #0C4655
triadic
#0C5540 #400C55 #55400C
tetradic
#0C5540 #1C0C55 #550C21 #46550C
square
#0C5540 #1C0C55 #550C21 #46550C
split-complementary
#0C5540 #550C46 #551C0C
monochromatic
#041B14 #041F18 #0C5540 #148B68 #1BC091

Accessibility & contrast

On white

8.79
#0C5540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5540
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5540#FFFFFF#000000##FFFFFF
##0C55401.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534E3F
Deuteranopia (green-blind)
#4A4841
Tritanopia (blue-blind)
#00554F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0c5540;
/* rgb */ color: rgb(12, 85, 64);
/* oklch */ color: oklch(40.2% 0.077 167.9);
Tailwind
colors: {
  custom: {
    50: '#5a8574',
    500: '#0c5540',
    950: '#000000',
  },
}
SCSS
$custom: #0c5540;
$custom-light: #5a8574;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5540",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 64
  },
  "hsl": {
    "h": 162.74,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40153,
    "c": 0.07651,
    "h": 167.9
  },
  "luminance": 0.06945
}

Semantic roles & 50–950 ramp

primary
#0C5540
secondary
#902D49
accent
#366CF2
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #0C5540

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

Preview Lab → · Contrast checker → · Palette generator →

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