#0C4948#0C4948

#0C4948 is a dark, muted teal. Relative luminance 0.053; OKLCH L 36.9% C 0.058 H 193.2°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#0C4948
RGBrgb(12, 73, 72)
HSLhsl(179, 72%, 17%)
HSVhsv(179, 84%, 29%)
CMYKcmyk(83.6%, 0%, 1.4%, 71.4%)
CIE-LABlab(27.60, -18.43, -4.79)
CIE-LCHlch(27.60, 19.05, 194.56°)
OKLaboklab(36.9% -0.0567 -0.0133)
OKLCHoklch(36.9% 0.058 193.2)
XYZxyz(3.7033, 5.3107, 6.9595)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4948 #490C0D
analogous
#0C492A #0C4948 #0C2C49
triadic
#0C4948 #480C49 #49480C
tetradic
#0C4948 #2A0C49 #490C0D #2C490C
square
#0C4948 #2A0C49 #490C0D #2C490C
split-complementary
#0C4948 #490C2C #492A0C
monochromatic
#041A1A #041A1A #0C4948 #157E7C #1DB2B0

Accessibility & contrast

On white

10.18
#0C4948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4948
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4948#FFFFFF#000000##FFFFFF
##0C49481.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444548
Deuteranopia (green-blind)
#3B3E48
Tritanopia (blue-blind)
#004B49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4948;
/* rgb */ color: rgb(12, 73, 72);
/* oklch */ color: oklch(36.9% 0.058 193.2);
Tailwind
colors: {
  custom: {
    50: '#587c7a',
    500: '#0c4948',
    950: '#000000',
  },
}
SCSS
$custom: #0c4948;
$custom-light: #587c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4948",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 72
  },
  "hsl": {
    "h": 179.016,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.369,
    "c": 0.05826,
    "h": 193.2
  },
  "luminance": 0.05311
}

Semantic roles & 50–950 ramp

primary
#0C4948
secondary
#852C2D
accent
#393CEE
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040909
muted
#797B7B

Preview Lab

Preview with #0C4948

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

Preview Lab → · Contrast checker → · Palette generator →

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