#0C4738#0C4738

#0C4738 is a dark, moderate teal. Relative luminance 0.049; OKLCH L 35.7% C 0.064 H 171.3°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#0C4738
RGBrgb(12, 71, 56)
HSLhsl(165, 71%, 16%)
HSVhsv(165, 83%, 28%)
CMYKcmyk(83.1%, 0%, 21.1%, 72.2%)
CIE-LABlab(26.36, -22.52, 3.80)
CIE-LCHlch(26.36, 22.84, 170.41°)
OKLaboklab(35.72% -0.0631 0.0097)
OKLCHoklch(35.72% 0.064 171.3)
XYZxyz(3.1183, 4.8698, 4.5162)
Luminance0.0487 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4738 #470C1B
analogous
#0C471B #0C4738 #0C3947
triadic
#0C4738 #380C47 #47380C
tetradic
#0C4738 #1B0C47 #470C1B #39470C
square
#0C4738 #1B0C47 #470C1B #39470C
split-complementary
#0C4738 #470C39 #471B0C
monochromatic
#041A15 #041A15 #0C4738 #157B61 #1EB08B

Accessibility & contrast

On white

10.64
#0C4738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#0C4738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4738
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4738#FFFFFF#000000##FFFFFF
##0C47381.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4738;
/* rgb */ color: rgb(12, 71, 56);
/* oklch */ color: oklch(35.7% 0.064 171.3);
Tailwind
colors: {
  custom: {
    50: '#567b6e',
    500: '#0c4738',
    950: '#000000',
  },
}
SCSS
$custom: #0c4738;
$custom-light: #567b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4738",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 56
  },
  "hsl": {
    "h": 164.746,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35717,
    "c": 0.06384,
    "h": 171.3
  },
  "luminance": 0.0487
}

Semantic roles & 50–950 ramp

primary
#0C4738
secondary
#832C42
accent
#3A68EE
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030907
muted
#787B7A

Preview Lab

Preview with #0C4738

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

Preview Lab → · Contrast checker → · Palette generator →

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