#0C5732#0C5732

#0C5732 is a dark, moderate teal. Relative luminance 0.071; OKLCH L 40.4% C 0.093 H 155.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#0C5732
RGBrgb(12, 87, 50)
HSLhsl(150, 76%, 19%)
HSVhsv(150, 86%, 34%)
CMYKcmyk(86.2%, 0%, 42.5%, 65.9%)
CIE-LABlab(32.09, -31.42, 15.47)
CIE-LCHlch(32.09, 35.03, 153.78°)
OKLaboklab(40.38% -0.0847 0.0386)
OKLCHoklch(40.38% 0.093 155.5)
XYZxyz(4.1351, 7.1243, 4.1742)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5732 #570C31
analogous
#0C570C #0C5732 #0C5757
triadic
#0C5732 #320C57 #57320C
tetradic
#0C5732 #0C0C57 #570C31 #57570C
square
#0C5732 #0C0C57 #570C31 #57570C
split-complementary
#0C5732 #570C57 #570C0C
monochromatic
#041B0F #052113 #0C5732 #138D51 #1BC370

Accessibility & contrast

On white

8.66
#0C5732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#0C5732 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5732
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5732#FFFFFF#000000##FFFFFF
##0C57321.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F2F
Deuteranopia (green-blind)
#4E4934
Tritanopia (blue-blind)
#00564E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0c5732;
/* rgb */ color: rgb(12, 87, 50);
/* oklch */ color: oklch(40.4% 0.093 155.5);
Tailwind
colors: {
  custom: {
    50: '#5a876a',
    500: '#0c5732',
    950: '#000000',
  },
}
SCSS
$custom: #0c5732;
$custom-light: #5a876a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5732",
  "rgb": {
    "r": 12,
    "g": 87,
    "b": 50
  },
  "hsl": {
    "h": 150.4,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40384,
    "c": 0.09306,
    "h": 155.5
  },
  "luminance": 0.07125
}

Semantic roles & 50–950 ramp

primary
#0C5732
secondary
#922D5F
accent
#3593F2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0C5732

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

Preview Lab → · Contrast checker → · Palette generator →

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