#0C472C#0C472C

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

Color values

HEX#0C472C
RGBrgb(12, 71, 44)
HSLhsl(153, 71%, 16%)
HSVhsv(153, 83%, 28%)
CMYKcmyk(83.1%, 0%, 38%, 72.2%)
CIE-LABlab(26.06, -25.78, 11.11)
CIE-LCHlch(26.06, 28.07, 156.70°)
OKLaboklab(35.37% -0.0699 0.028)
OKLCHoklch(35.37% 0.075 158.2)
XYZxyz(2.8592, 4.7662, 3.1517)
Luminance0.0477 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C472C #470C27
analogous
#0C470F #0C472C #0C4547
triadic
#0C472C #2C0C47 #472C0C
tetradic
#0C472C #0F0C47 #470C27 #45470C
square
#0C472C #0F0C47 #470C27 #45470C
split-complementary
#0C472C #470C45 #470F0C
monochromatic
#041A10 #041A10 #0C472C #157B4C #1EB06D

Accessibility & contrast

On white

10.75
#0C472C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C472C
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C472C#FFFFFF#000000##FFFFFF
##0C472C1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46412A
Deuteranopia (green-blind)
#3F3C2E
Tritanopia (blue-blind)
#004640
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0c472c;
/* rgb */ color: rgb(12, 71, 44);
/* oklch */ color: oklch(35.4% 0.075 158.2);
Tailwind
colors: {
  custom: {
    50: '#567b65',
    500: '#0c472c',
    950: '#000000',
  },
}
SCSS
$custom: #0c472c;
$custom-light: #567b65;
$custom-dark: #000000;
JSON
{
  "hex": "#0c472c",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 44
  },
  "hsl": {
    "h": 152.542,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35369,
    "c": 0.07528,
    "h": 158.2
  },
  "luminance": 0.04766
}

Semantic roles & 50–950 ramp

primary
#0C472C
secondary
#832C54
accent
#3A8CEE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030905
muted
#787B7A

Preview Lab

Preview with #0C472C

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

Preview Lab → · Contrast checker → · Palette generator →

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