#0C5146#0C5146

#0C5146 is a dark, moderate teal. Relative luminance 0.064; OKLCH L 39.2% C 0.067 H 178.9°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#0C5146
RGBrgb(12, 81, 70)
HSLhsl(170, 74%, 18%)
HSVhsv(170, 85%, 32%)
CMYKcmyk(85.2%, 0%, 13.6%, 68.2%)
CIE-LABlab(30.41, -23.29, 0.64)
CIE-LCHlch(30.41, 23.30, 178.43°)
OKLaboklab(39.17% -0.067 0.0013)
OKLCHoklch(39.17% 0.067 178.9)
XYZxyz(4.1990, 6.4047, 6.8081)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5146 #510C17
analogous
#0C5123 #0C5146 #0C3951
triadic
#0C5146 #460C51 #51460C
tetradic
#0C5146 #230C51 #510C17 #39510C
square
#0C5146 #230C51 #510C17 #39510C
split-complementary
#0C5146 #510C39 #51230C
monochromatic
#041B17 #041C18 #0C5146 #148674 #1CBCA2

Accessibility & contrast

On white

9.21
#0C5146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#0C5146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5146
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5146#FFFFFF#000000##FFFFFF
##0C51461.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4B46
Deuteranopia (green-blind)
#444547
Tritanopia (blue-blind)
#00524E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0c5146;
/* rgb */ color: rgb(12, 81, 70);
/* oklch */ color: oklch(39.2% 0.067 178.9);
Tailwind
colors: {
  custom: {
    50: '#598279',
    500: '#0c5146',
    950: '#000000',
  },
}
SCSS
$custom: #0c5146;
$custom-light: #598279;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5146",
  "rgb": {
    "r": 12,
    "g": 81,
    "b": 70
  },
  "hsl": {
    "h": 170.435,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39169,
    "c": 0.067,
    "h": 178.9
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#0C5146
secondary
#8C2C3C
accent
#3755F1
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #0C5146

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

Preview Lab → · Contrast checker → · Palette generator →

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