#0C5639#0C5639

#0C5639 is a dark, moderate teal. Relative luminance 0.070; OKLCH L 40.3% C 0.084 H 160.9°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#0C5639
RGBrgb(12, 86, 57)
HSLhsl(156, 76%, 19%)
HSVhsv(156, 86%, 34%)
CMYKcmyk(86%, 0%, 33.7%, 66.3%)
CIE-LABlab(31.87, -29.33, 10.90)
CIE-LCHlch(31.87, 31.29, 159.62°)
OKLaboklab(40.25% -0.0798 0.0276)
OKLCHoklch(40.25% 0.084 160.9)
XYZxyz(4.2175, 7.0286, 5.0045)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5639 #560C29
analogous
#0C5614 #0C5639 #0C4E56
triadic
#0C5639 #390C56 #56390C
tetradic
#0C5639 #140C56 #560C29 #4E560C
square
#0C5639 #140C56 #560C29 #4E560C
split-complementary
#0C5639 #560C4E #56140C
monochromatic
#041B12 #052015 #0C5639 #138C5D #1BC180

Accessibility & contrast

On white

8.73
#0C5639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#0C5639 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5639
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5639#FFFFFF#000000##FFFFFF
##0C56391.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554F37
Deuteranopia (green-blind)
#4C483B
Tritanopia (blue-blind)
#00564E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0c5639;
/* rgb */ color: rgb(12, 86, 57);
/* oklch */ color: oklch(40.3% 0.084 160.9);
Tailwind
colors: {
  custom: {
    50: '#5a866f',
    500: '#0c5639',
    950: '#000000',
  },
}
SCSS
$custom: #0c5639;
$custom-light: #5a866f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5639",
  "rgb": {
    "r": 12,
    "g": 86,
    "b": 57
  },
  "hsl": {
    "h": 156.486,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40254,
    "c": 0.08444,
    "h": 160.9
  },
  "luminance": 0.07029
}

Semantic roles & 50–950 ramp

primary
#0C5639
secondary
#912D54
accent
#3680F2
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0C5639

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

Preview Lab → · Contrast checker → · Palette generator →

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