#0C472F#0C472F

#0C472F is a dark, moderate teal. Relative luminance 0.048; OKLCH L 35.4% C 0.072 H 160.9°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#0C472F
RGBrgb(12, 71, 47)
HSLhsl(156, 71%, 16%)
HSVhsv(156, 83%, 28%)
CMYKcmyk(83.1%, 0%, 33.8%, 72.2%)
CIE-LABlab(26.13, -25.02, 9.29)
CIE-LCHlch(26.13, 26.69, 159.64°)
OKLaboklab(35.45% -0.0682 0.0236)
OKLCHoklch(35.45% 0.072 160.9)
XYZxyz(2.9176, 4.7895, 3.4595)
Luminance0.0479 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C472F #470C24
analogous
#0C4712 #0C472F #0C4247
triadic
#0C472F #2F0C47 #472F0C
tetradic
#0C472F #120C47 #470C24 #42470C
square
#0C472F #120C47 #470C24 #42470C
split-complementary
#0C472F #470C42 #47120C
monochromatic
#041A11 #041A11 #0C472F #157B52 #1EB074

Accessibility & contrast

On white

10.73
#0C472F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#0C472F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C472F
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C472F#FFFFFF#000000##FFFFFF
##0C472F1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46412E
Deuteranopia (green-blind)
#3F3C31
Tritanopia (blue-blind)
#004741
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0c472f;
/* rgb */ color: rgb(12, 71, 47);
/* oklch */ color: oklch(35.4% 0.072 160.9);
Tailwind
colors: {
  custom: {
    50: '#567b67',
    500: '#0c472f',
    950: '#000000',
  },
}
SCSS
$custom: #0c472f;
$custom-light: #567b67;
$custom-dark: #000000;
JSON
{
  "hex": "#0c472f",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 47
  },
  "hsl": {
    "h": 155.593,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35448,
    "c": 0.07215,
    "h": 160.9
  },
  "luminance": 0.0479
}

Semantic roles & 50–950 ramp

primary
#0C472F
secondary
#832C4F
accent
#3A83EE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030906
muted
#787B7A

Preview Lab

Preview with #0C472F

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

Preview Lab → · Contrast checker → · Palette generator →

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