#0C5638#0C5638

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

Color values

HEX#0C5638
RGBrgb(12, 86, 56)
HSLhsl(156, 76%, 19%)
HSVhsv(156, 86%, 34%)
CMYKcmyk(86%, 0%, 34.9%, 66.3%)
CIE-LABlab(31.85, -29.58, 11.48)
CIE-LCHlch(31.85, 31.73, 158.78°)
OKLaboklab(40.23% -0.0803 0.0291)
OKLCHoklch(40.23% 0.085 160.1)
XYZxyz(4.1928, 7.0187, 4.8744)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5638 #560C2A
analogous
#0C5613 #0C5638 #0C4F56
triadic
#0C5638 #380C56 #56380C
tetradic
#0C5638 #130C56 #560C2A #4F560C
square
#0C5638 #130C56 #560C2A #4F560C
split-complementary
#0C5638 #560C4F #56130C
monochromatic
#041B11 #052015 #0C5638 #138C5B #1BC17E

Accessibility & contrast

On white

8.74
#0C5638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#0C5638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5638
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5638#FFFFFF#000000##FFFFFF
##0C56381.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c5638;
/* rgb */ color: rgb(12, 86, 56);
/* oklch */ color: oklch(40.2% 0.085 160.1);
Tailwind
colors: {
  custom: {
    50: '#5a866e',
    500: '#0c5638',
    950: '#000000',
  },
}
SCSS
$custom: #0c5638;
$custom-light: #5a866e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5638",
  "rgb": {
    "r": 12,
    "g": 86,
    "b": 56
  },
  "hsl": {
    "h": 155.676,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40228,
    "c": 0.08543,
    "h": 160.1
  },
  "luminance": 0.07019
}

Semantic roles & 50–950 ramp

primary
#0C5638
secondary
#912D55
accent
#3682F2
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0C5638

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

Preview Lab → · Contrast checker → · Palette generator →

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