#0C5637#0C5637

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

Color values

HEX#0C5637
RGBrgb(12, 86, 55)
HSLhsl(155, 76%, 19%)
HSVhsv(155, 86%, 34%)
CMYKcmyk(86%, 0%, 36%, 66.3%)
CIE-LABlab(31.83, -29.83, 12.07)
CIE-LCHlch(31.83, 32.18, 157.97°)
OKLaboklab(40.2% -0.0809 0.0305)
OKLCHoklch(40.2% 0.086 159.3)
XYZxyz(4.1686, 7.0091, 4.7469)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5637 #560C2B
analogous
#0C5612 #0C5637 #0C5056
triadic
#0C5637 #370C56 #56370C
tetradic
#0C5637 #120C56 #560C2B #50560C
square
#0C5637 #120C56 #560C2B #50560C
split-complementary
#0C5637 #560C50 #56120C
monochromatic
#041B11 #052015 #0C5637 #138C59 #1BC17C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C5637#FFFFFF#000000##FFFFFF
##0C56371.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)
#554F35
Deuteranopia (green-blind)
#4C4839
Tritanopia (blue-blind)
#00564E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0c5637;
/* rgb */ color: rgb(12, 86, 55);
/* oklch */ color: oklch(40.2% 0.086 159.3);
Tailwind
colors: {
  custom: {
    50: '#5a866e',
    500: '#0c5637',
    950: '#000000',
  },
}
SCSS
$custom: #0c5637;
$custom-light: #5a866e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5637",
  "rgb": {
    "r": 12,
    "g": 86,
    "b": 55
  },
  "hsl": {
    "h": 154.865,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40203,
    "c": 0.08644,
    "h": 159.3
  },
  "luminance": 0.0701
}

Semantic roles & 50–950 ramp

primary
#0C5637
secondary
#912D57
accent
#3685F2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0C5637

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

Preview Lab → · Contrast checker → · Palette generator →

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