#0C5539#0C5539

#0C5539 is a dark, moderate teal. Relative luminance 0.069; OKLCH L 40.0% C 0.083 H 161.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#0C5539
RGBrgb(12, 85, 57)
HSLhsl(157, 75%, 19%)
HSVhsv(157, 86%, 33%)
CMYKcmyk(85.9%, 0%, 32.9%, 66.7%)
CIE-LABlab(31.51, -28.88, 10.40)
CIE-LCHlch(31.51, 30.70, 160.20°)
OKLaboklab(39.96% -0.0787 0.0264)
OKLCHoklch(39.96% 0.083 161.5)
XYZxyz(4.1382, 6.8701, 4.9781)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5539 #550C28
analogous
#0C5514 #0C5539 #0C4D55
triadic
#0C5539 #390C55 #55390C
tetradic
#0C5539 #140C55 #550C28 #4D550C
square
#0C5539 #140C55 #550C28 #4D550C
split-complementary
#0C5539 #550C4D #55140C
monochromatic
#041B12 #041F15 #0C5539 #148B5D #1BC081

Accessibility & contrast

On white

8.85
#0C5539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#0C5539 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5539
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5539#FFFFFF#000000##FFFFFF
##0C55391.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544E37
Deuteranopia (green-blind)
#4B483B
Tritanopia (blue-blind)
#00554E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c5539;
/* rgb */ color: rgb(12, 85, 57);
/* oklch */ color: oklch(40.0% 0.083 161.5);
Tailwind
colors: {
  custom: {
    50: '#5a856f',
    500: '#0c5539',
    950: '#000000',
  },
}
SCSS
$custom: #0c5539;
$custom-light: #5a856f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5539",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 57
  },
  "hsl": {
    "h": 156.986,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39955,
    "c": 0.08298,
    "h": 161.5
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#0C5539
secondary
#902D53
accent
#367EF2
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0C5539

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

Preview Lab → · Contrast checker → · Palette generator →

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