#0C4946#0C4946

#0C4946 is a dark, muted teal. Relative luminance 0.053; OKLCH L 36.8% C 0.059 H 189.9°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#0C4946
RGBrgb(12, 73, 70)
HSLhsl(177, 72%, 17%)
HSVhsv(177, 84%, 29%)
CMYKcmyk(83.6%, 0%, 4.1%, 71.4%)
CIE-LABlab(27.53, -19.12, -3.59)
CIE-LCHlch(27.53, 19.45, 190.65°)
OKLaboklab(36.82% -0.0578 -0.0101)
OKLCHoklch(36.82% 0.059 189.9)
XYZxyz(3.6391, 5.2850, 6.6215)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4946 #490C0F
analogous
#0C4928 #0C4946 #0C2E49
triadic
#0C4946 #460C49 #49460C
tetradic
#0C4946 #280C49 #490C0F #2E490C
square
#0C4946 #280C49 #490C0F #2E490C
split-complementary
#0C4946 #490C2E #49280C
monochromatic
#041A19 #041A19 #0C4946 #157E78 #1DB2AB

Accessibility & contrast

On white

10.21
#0C4946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#0C4946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4946
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4946#FFFFFF#000000##FFFFFF
##0C49461.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444546
Deuteranopia (green-blind)
#3C3E47
Tritanopia (blue-blind)
#004B48
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4946;
/* rgb */ color: rgb(12, 73, 70);
/* oklch */ color: oklch(36.8% 0.059 189.9);
Tailwind
colors: {
  custom: {
    50: '#587c79',
    500: '#0c4946',
    950: '#000000',
  },
}
SCSS
$custom: #0c4946;
$custom-light: #587c79;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4946",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 70
  },
  "hsl": {
    "h": 177.049,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.3682,
    "c": 0.05864,
    "h": 189.9
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#0C4946
secondary
#852C30
accent
#3942EE
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040909
muted
#797B7B

Preview Lab

Preview with #0C4946

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

Preview Lab → · Contrast checker → · Palette generator →

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