#0C5738#0C5738

#0C5738 is a dark, moderate teal. Relative luminance 0.072; OKLCH L 40.5% C 0.087 H 159.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#0C5738
RGBrgb(12, 87, 56)
HSLhsl(155, 76%, 19%)
HSVhsv(155, 86%, 34%)
CMYKcmyk(86.2%, 0%, 35.6%, 65.9%)
CIE-LABlab(32.21, -30.02, 11.98)
CIE-LCHlch(32.21, 32.32, 158.25°)
OKLaboklab(40.53% -0.0814 0.0303)
OKLCHoklch(40.53% 0.087 159.6)
XYZxyz(4.2732, 7.1795, 4.9012)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5738 #570C2B
analogous
#0C5713 #0C5738 #0C5157
triadic
#0C5738 #380C57 #57380C
tetradic
#0C5738 #130C57 #570C2B #51570C
square
#0C5738 #130C57 #570C2B #51570C
split-complementary
#0C5738 #570C51 #57130C
monochromatic
#041B11 #052115 #0C5738 #138D5B #1BC37D

Accessibility & contrast

On white

8.62
#0C5738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#0C5738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5738
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5738#FFFFFF#000000##FFFFFF
##0C57381.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565036
Deuteranopia (green-blind)
#4D493A
Tritanopia (blue-blind)
#00574F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0c5738;
/* rgb */ color: rgb(12, 87, 56);
/* oklch */ color: oklch(40.5% 0.087 159.6);
Tailwind
colors: {
  custom: {
    50: '#5a876e',
    500: '#0c5738',
    950: '#000000',
  },
}
SCSS
$custom: #0c5738;
$custom-light: #5a876e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5738",
  "rgb": {
    "r": 12,
    "g": 87,
    "b": 56
  },
  "hsl": {
    "h": 155.2,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40527,
    "c": 0.08689,
    "h": 159.6
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

primary
#0C5738
secondary
#922D57
accent
#3584F2
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0C5738

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

Preview Lab → · Contrast checker → · Palette generator →

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