#0C5736#0C5736

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

Color values

HEX#0C5736
RGBrgb(12, 87, 54)
HSLhsl(154, 76%, 19%)
HSVhsv(154, 86%, 34%)
CMYKcmyk(86.2%, 0%, 37.9%, 65.9%)
CIE-LABlab(32.17, -30.50, 13.15)
CIE-LCHlch(32.17, 33.22, 156.68°)
OKLaboklab(40.48% -0.0825 0.0331)
OKLCHoklch(40.48% 0.089 158.1)
XYZxyz(4.2252, 7.1604, 4.6487)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5736 #570C2D
analogous
#0C5711 #0C5736 #0C5357
triadic
#0C5736 #360C57 #57360C
tetradic
#0C5736 #110C57 #570C2D #53570C
square
#0C5736 #110C57 #570C2D #53570C
split-complementary
#0C5736 #570C53 #57110C
monochromatic
#041B11 #052115 #0C5736 #138D57 #1BC379

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C5736#FFFFFF#000000##FFFFFF
##0C57361.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)
#564F34
Deuteranopia (green-blind)
#4D4938
Tritanopia (blue-blind)
#00564E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0c5736;
/* rgb */ color: rgb(12, 87, 54);
/* oklch */ color: oklch(40.5% 0.089 158.1);
Tailwind
colors: {
  custom: {
    50: '#5a876d',
    500: '#0c5736',
    950: '#000000',
  },
}
SCSS
$custom: #0c5736;
$custom-light: #5a876d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5736",
  "rgb": {
    "r": 12,
    "g": 87,
    "b": 54
  },
  "hsl": {
    "h": 153.6,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40478,
    "c": 0.08892,
    "h": 158.1
  },
  "luminance": 0.07161
}

Semantic roles & 50–950 ramp

primary
#0C5736
secondary
#922D59
accent
#3589F2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0C5736

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

Preview Lab → · Contrast checker → · Palette generator →

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