#0C4739#0C4739

#0C4739 is a dark, moderate teal. Relative luminance 0.049; OKLCH L 35.8% C 0.063 H 172.6°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#0C4739
RGBrgb(12, 71, 57)
HSLhsl(166, 71%, 16%)
HSVhsv(166, 83%, 28%)
CMYKcmyk(83.1%, 0%, 19.7%, 72.2%)
CIE-LABlab(26.39, -22.23, 3.20)
CIE-LCHlch(26.39, 22.45, 171.82°)
OKLaboklab(35.75% -0.0625 0.0081)
OKLCHoklch(35.75% 0.063 172.6)
XYZxyz(3.1430, 4.8797, 4.6463)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4739 #470C1A
analogous
#0C471C #0C4739 #0C3847
triadic
#0C4739 #390C47 #47390C
tetradic
#0C4739 #1C0C47 #470C1A #38470C
square
#0C4739 #1C0C47 #470C1A #38470C
split-complementary
#0C4739 #470C38 #471C0C
monochromatic
#041A15 #041A15 #0C4739 #157B63 #1EB08D

Accessibility & contrast

On white

10.63
#0C4739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#0C4739 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4739
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4739#FFFFFF#000000##FFFFFF
##0C47391.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444238
Deuteranopia (green-blind)
#3D3C3A
Tritanopia (blue-blind)
#004843
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0c4739;
/* rgb */ color: rgb(12, 71, 57);
/* oklch */ color: oklch(35.8% 0.063 172.6);
Tailwind
colors: {
  custom: {
    50: '#567a6f',
    500: '#0c4739',
    950: '#000000',
  },
}
SCSS
$custom: #0c4739;
$custom-light: #567a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4739",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 57
  },
  "hsl": {
    "h": 165.763,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.3575,
    "c": 0.06306,
    "h": 172.6
  },
  "luminance": 0.0488
}

Semantic roles & 50–950 ramp

primary
#0C4739
secondary
#832C41
accent
#3A65EE
background
#F5F7F6
surface
#E9EDEC
border
#C5C8C7
text
#030907
muted
#787B7A

Preview Lab

Preview with #0C4739

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

Preview Lab → · Contrast checker → · Palette generator →

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