#0C5149#0C5149

#0C5149 is a dark, moderate teal. Relative luminance 0.064; OKLCH L 39.3% C 0.065 H 183.0°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#0C5149
RGBrgb(12, 81, 73)
HSLhsl(173, 74%, 18%)
HSVhsv(173, 85%, 32%)
CMYKcmyk(85.2%, 0%, 9.9%, 68.2%)
CIE-LABlab(30.50, -22.34, -1.14)
CIE-LCHlch(30.50, 22.37, 182.92°)
OKLaboklab(39.28% -0.0654 -0.0034)
OKLCHoklch(39.28% 0.065 183)
XYZxyz(4.2961, 6.4435, 7.3193)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5149 #510C14
analogous
#0C5126 #0C5149 #0C3651
triadic
#0C5149 #490C51 #51490C
tetradic
#0C5149 #260C51 #510C14 #36510C
square
#0C5149 #260C51 #510C14 #36510C
split-complementary
#0C5149 #510C36 #51260C
monochromatic
#041B18 #041C19 #0C5149 #148679 #1CBCA9

Accessibility & contrast

On white

9.18
#0C5149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#0C5149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5149
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5149#FFFFFF#000000##FFFFFF
##0C51491.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4C49
Deuteranopia (green-blind)
#44454A
Tritanopia (blue-blind)
#00534E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0c5149;
/* rgb */ color: rgb(12, 81, 73);
/* oklch */ color: oklch(39.3% 0.065 183.0);
Tailwind
colors: {
  custom: {
    50: '#5a827b',
    500: '#0c5149',
    950: '#000000',
  },
}
SCSS
$custom: #0c5149;
$custom-light: #5a827b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5149",
  "rgb": {
    "r": 12,
    "g": 81,
    "b": 73
  },
  "hsl": {
    "h": 173.043,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39276,
    "c": 0.06546,
    "h": 183
  },
  "luminance": 0.06444
}

Semantic roles & 50–950 ramp

primary
#0C5149
secondary
#8C2C38
accent
#374DF1
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #0C5149

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

Preview Lab → · Contrast checker → · Palette generator →

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