#0C5733#0C5733

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

Color values

HEX#0C5733
RGBrgb(12, 87, 51)
HSLhsl(151, 76%, 19%)
HSVhsv(151, 86%, 34%)
CMYKcmyk(86.2%, 0%, 41.4%, 65.9%)
CIE-LABlab(32.11, -31.20, 14.89)
CIE-LCHlch(32.11, 34.57, 154.48°)
OKLaboklab(40.41% -0.0841 0.0372)
OKLCHoklch(40.41% 0.092 156.1)
XYZxyz(4.1569, 7.1331, 4.2891)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5733 #570C30
analogous
#0C570D #0C5733 #0C5657
triadic
#0C5733 #330C57 #57330C
tetradic
#0C5733 #0D0C57 #570C30 #56570C
square
#0C5733 #0D0C57 #570C30 #56570C
split-complementary
#0C5733 #570C56 #570D0C
monochromatic
#041B10 #052113 #0C5733 #138D53 #1BC372

Accessibility & contrast

On white

8.65
#0C5733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5733
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5733#FFFFFF#000000##FFFFFF
##0C57331.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564F31
Deuteranopia (green-blind)
#4E4935
Tritanopia (blue-blind)
#00564E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0c5733;
/* rgb */ color: rgb(12, 87, 51);
/* oklch */ color: oklch(40.4% 0.092 156.1);
Tailwind
colors: {
  custom: {
    50: '#5a876b',
    500: '#0c5733',
    950: '#000000',
  },
}
SCSS
$custom: #0c5733;
$custom-light: #5a876b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5733",
  "rgb": {
    "r": 12,
    "g": 87,
    "b": 51
  },
  "hsl": {
    "h": 151.2,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40407,
    "c": 0.09201,
    "h": 156.1
  },
  "luminance": 0.07134
}

Semantic roles & 50–950 ramp

primary
#0C5733
secondary
#922D5D
accent
#3590F2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0C5733

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

Preview Lab → · Contrast checker → · Palette generator →

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