#0C5737#0C5737

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

Color values

HEX#0C5737
RGBrgb(12, 87, 55)
HSLhsl(154, 76%, 19%)
HSVhsv(154, 86%, 34%)
CMYKcmyk(86.2%, 0%, 36.8%, 65.9%)
CIE-LABlab(32.19, -30.26, 12.56)
CIE-LCHlch(32.19, 32.77, 157.45°)
OKLaboklab(40.5% -0.082 0.0317)
OKLCHoklch(40.5% 0.088 158.9)
XYZxyz(4.2490, 7.1699, 4.7737)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5737 #570C2C
analogous
#0C5712 #0C5737 #0C5257
triadic
#0C5737 #370C57 #57370C
tetradic
#0C5737 #120C57 #570C2C #52570C
square
#0C5737 #120C57 #570C2C #52570C
split-complementary
#0C5737 #570C52 #57120C
monochromatic
#041B11 #052115 #0C5737 #138D59 #1BC37B

Accessibility & contrast

On white

8.63
#0C5737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#0C5737 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5737
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5737#FFFFFF#000000##FFFFFF
##0C57371.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564F35
Deuteranopia (green-blind)
#4D4939
Tritanopia (blue-blind)
#00564F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0c5737;
/* rgb */ color: rgb(12, 87, 55);
/* oklch */ color: oklch(40.5% 0.088 158.9);
Tailwind
colors: {
  custom: {
    50: '#5a876e',
    500: '#0c5737',
    950: '#000000',
  },
}
SCSS
$custom: #0c5737;
$custom-light: #5a876e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5737",
  "rgb": {
    "r": 12,
    "g": 87,
    "b": 55
  },
  "hsl": {
    "h": 154.4,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40502,
    "c": 0.0879,
    "h": 158.9
  },
  "luminance": 0.0717
}

Semantic roles & 50–950 ramp

primary
#0C5737
secondary
#922D58
accent
#3586F2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0C5737

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

Preview Lab → · Contrast checker → · Palette generator →

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