#0C5436#0C5436

#0C5436 is a dark, moderate teal. Relative luminance 0.067; OKLCH L 39.6% C 0.085 H 159.6°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#0C5436
RGBrgb(12, 84, 54)
HSLhsl(155, 75%, 19%)
HSVhsv(155, 86%, 33%)
CMYKcmyk(85.7%, 0%, 35.7%, 67.1%)
CIE-LABlab(31.08, -29.19, 11.67)
CIE-LCHlch(31.08, 31.43, 158.21°)
OKLaboklab(39.58% -0.0792 0.0295)
OKLCHoklch(39.58% 0.085 159.6)
XYZxyz(3.9874, 6.6847, 4.5694)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5436 #540C2A
analogous
#0C5412 #0C5436 #0C4E54
triadic
#0C5436 #360C54 #54360C
tetradic
#0C5436 #120C54 #540C2A #4E540C
square
#0C5436 #120C54 #540C2A #4E540C
split-complementary
#0C5436 #540C4E #54120C
monochromatic
#041B11 #041E14 #0C5436 #148A58 #1BBF7B

Accessibility & contrast

On white

8.99
#0C5436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#0C5436 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5436
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5436#FFFFFF#000000##FFFFFF
##0C54361.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D34
Deuteranopia (green-blind)
#4A4738
Tritanopia (blue-blind)
#00544C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c5436;
/* rgb */ color: rgb(12, 84, 54);
/* oklch */ color: oklch(39.6% 0.085 159.6);
Tailwind
colors: {
  custom: {
    50: '#59856d',
    500: '#0c5436',
    950: '#000000',
  },
}
SCSS
$custom: #0c5436;
$custom-light: #59856d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5436",
  "rgb": {
    "r": 12,
    "g": 84,
    "b": 54
  },
  "hsl": {
    "h": 155,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39578,
    "c": 0.08451,
    "h": 159.6
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#0C5436
secondary
#8F2D56
accent
#3684F2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0C5436

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

Preview Lab → · Contrast checker → · Palette generator →

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