#0C5351#0C5351

#0C5351 is a dark, moderate teal. Relative luminance 0.069; OKLCH L 40.2% C 0.065 H 191.9°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#0C5351
RGBrgb(12, 83, 81)
HSLhsl(178, 75%, 19%)
HSVhsv(178, 86%, 33%)
CMYKcmyk(85.5%, 0%, 2.4%, 67.5%)
CIE-LABlab(31.48, -20.76, -4.79)
CIE-LCHlch(31.48, 21.31, 193.00°)
OKLaboklab(40.16% -0.0634 -0.0134)
OKLCHoklch(40.16% 0.065 191.9)
XYZxyz(4.7294, 6.8582, 8.8575)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5351 #530C0E
analogous
#0C532D #0C5351 #0C3153
triadic
#0C5351 #510C53 #53510C
tetradic
#0C5351 #2D0C53 #530C0E #31530C
square
#0C5351 #2D0C53 #530C0E #31530C
split-complementary
#0C5351 #530C31 #532D0C
monochromatic
#041B1A #041E1D #0C5351 #148885 #1BBEB9

Accessibility & contrast

On white

8.85
#0C5351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5351
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5351#FFFFFF#000000##FFFFFF
##0C53511.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E51
Deuteranopia (green-blind)
#444752
Tritanopia (blue-blind)
#005652
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c5351;
/* rgb */ color: rgb(12, 83, 81);
/* oklch */ color: oklch(40.2% 0.065 191.9);
Tailwind
colors: {
  custom: {
    50: '#5b8481',
    500: '#0c5351',
    950: '#000000',
  },
}
SCSS
$custom: #0c5351;
$custom-light: #5b8481;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5351",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 81
  },
  "hsl": {
    "h": 178.31,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.40161,
    "c": 0.06481,
    "h": 191.9
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#0C5351
secondary
#8E2D2F
accent
#363CF1
background
#F5F8F7
surface
#E9EFEE
border
#C5CAC9
text
#040B0A
muted
#797C7C

Preview Lab

Preview with #0C5351

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

Preview Lab → · Contrast checker → · Palette generator →

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