#0C472A#0C472A

#0C472A is a dark, moderate teal. Relative luminance 0.048; OKLCH L 35.3% C 0.077 H 156.5°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#0C472A
RGBrgb(12, 71, 42)
HSLhsl(151, 71%, 16%)
HSVhsv(151, 83%, 28%)
CMYKcmyk(83.1%, 0%, 40.8%, 72.2%)
CIE-LABlab(26.01, -26.26, 12.31)
CIE-LCHlch(26.01, 29.01, 154.88°)
OKLaboklab(35.32% -0.071 0.0309)
OKLCHoklch(35.32% 0.077 156.5)
XYZxyz(2.8225, 4.7515, 2.9584)
Luminance0.0475 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C472A #470C29
analogous
#0C470D #0C472A #0C4747
triadic
#0C472A #2A0C47 #472A0C
tetradic
#0C472A #0D0C47 #470C29 #47470C
square
#0C472A #0D0C47 #470C29 #47470C
split-complementary
#0C472A #470C47 #470D0C
monochromatic
#041A0F #041A0F #0C472A #157B49 #1EB068

Accessibility & contrast

On white

10.77
#0C472A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#0C472A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C472A
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C472A#FFFFFF#000000##FFFFFF
##0C472A1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474128
Deuteranopia (green-blind)
#3F3C2C
Tritanopia (blue-blind)
#004640
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0c472a;
/* rgb */ color: rgb(12, 71, 42);
/* oklch */ color: oklch(35.3% 0.077 156.5);
Tailwind
colors: {
  custom: {
    50: '#567b63',
    500: '#0c472a',
    950: '#000000',
  },
}
SCSS
$custom: #0c472a;
$custom-light: #567b63;
$custom-dark: #000000;
JSON
{
  "hex": "#0c472a",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 42
  },
  "hsl": {
    "h": 150.508,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35319,
    "c": 0.07742,
    "h": 156.5
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#0C472A
secondary
#832C57
accent
#3A92EE
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#030905
muted
#787B79

Preview Lab

Preview with #0C472A

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

Preview Lab → · Contrast checker → · Palette generator →

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