#0C5437#0C5437

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

Color values

HEX#0C5437
RGBrgb(12, 84, 55)
HSLhsl(156, 75%, 19%)
HSVhsv(156, 86%, 33%)
CMYKcmyk(85.7%, 0%, 34.5%, 67.1%)
CIE-LABlab(31.10, -28.94, 11.08)
CIE-LCHlch(31.10, 30.99, 159.05°)
OKLaboklab(39.6% -0.0786 0.0281)
OKLCHoklch(39.6% 0.084 160.4)
XYZxyz(4.0111, 6.6942, 4.6944)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5437 #540C29
analogous
#0C5413 #0C5437 #0C4D54
triadic
#0C5437 #370C54 #54370C
tetradic
#0C5437 #130C54 #540C29 #4D540C
square
#0C5437 #130C54 #540C29 #4D540C
split-complementary
#0C5437 #540C4D #54130C
monochromatic
#041B12 #041E14 #0C5437 #148A5A #1BBF7D

Accessibility & contrast

On white

8.98
#0C5437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5437
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5437#FFFFFF#000000##FFFFFF
##0C54371.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c5437;
/* rgb */ color: rgb(12, 84, 55);
/* oklch */ color: oklch(39.6% 0.084 160.4);
Tailwind
colors: {
  custom: {
    50: '#59856e',
    500: '#0c5437',
    950: '#000000',
  },
}
SCSS
$custom: #0c5437;
$custom-light: #59856e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5437",
  "rgb": {
    "r": 12,
    "g": 84,
    "b": 55
  },
  "hsl": {
    "h": 155.833,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39603,
    "c": 0.0835,
    "h": 160.4
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

primary
#0C5437
secondary
#8F2D54
accent
#3682F2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0C5437

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

Preview Lab → · Contrast checker → · Palette generator →

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