#0C5535#0C5535

#0C5535 is a dark, moderate teal. Relative luminance 0.068; OKLCH L 39.9% C 0.087 H 158.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#0C5535
RGBrgb(12, 85, 53)
HSLhsl(154, 75%, 19%)
HSVhsv(154, 86%, 33%)
CMYKcmyk(85.9%, 0%, 37.6%, 66.7%)
CIE-LABlab(31.42, -29.87, 12.75)
CIE-LCHlch(31.42, 32.48, 156.89°)
OKLaboklab(39.85% -0.0809 0.0321)
OKLCHoklch(39.85% 0.087 158.3)
XYZxyz(4.0423, 6.8317, 4.4731)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5535 #550C2C
analogous
#0C5511 #0C5535 #0C5155
triadic
#0C5535 #350C55 #55350C
tetradic
#0C5535 #110C55 #550C2C #51550C
square
#0C5535 #110C55 #550C2C #51550C
split-complementary
#0C5535 #550C51 #55110C
monochromatic
#041B11 #041F14 #0C5535 #148B56 #1BC078

Accessibility & contrast

On white

8.87
#0C5535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#0C5535 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5535
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5535#FFFFFF#000000##FFFFFF
##0C55351.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544E33
Deuteranopia (green-blind)
#4C4737
Tritanopia (blue-blind)
#00544D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c5535;
/* rgb */ color: rgb(12, 85, 53);
/* oklch */ color: oklch(39.9% 0.087 158.3);
Tailwind
colors: {
  custom: {
    50: '#59856c',
    500: '#0c5535',
    950: '#000000',
  },
}
SCSS
$custom: #0c5535;
$custom-light: #59856c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5535",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 53
  },
  "hsl": {
    "h": 153.699,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39853,
    "c": 0.087,
    "h": 158.3
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#0C5535
secondary
#902D58
accent
#3688F2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0C5535

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

Preview Lab → · Contrast checker → · Palette generator →

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