#0C472D#0C472D

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

Color values

HEX#0C472D
RGBrgb(12, 71, 45)
HSLhsl(154, 71%, 16%)
HSVhsv(154, 83%, 28%)
CMYKcmyk(83.1%, 0%, 36.6%, 72.2%)
CIE-LABlab(26.08, -25.53, 10.50)
CIE-LCHlch(26.08, 27.61, 157.65°)
OKLaboklab(35.39% -0.0693 0.0265)
OKLCHoklch(35.39% 0.074 159.1)
XYZxyz(2.8782, 4.7738, 3.2519)
Luminance0.0477 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C472D #470C26
analogous
#0C4710 #0C472D #0C4447
triadic
#0C472D #2D0C47 #472D0C
tetradic
#0C472D #100C47 #470C26 #44470C
square
#0C472D #100C47 #470C26 #44470C
split-complementary
#0C472D #470C44 #47100C
monochromatic
#041A11 #041A11 #0C472D #157B4E #1EB06F

Accessibility & contrast

On white

10.74
#0C472D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C472D
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C472D#FFFFFF#000000##FFFFFF
##0C472D1.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46412B
Deuteranopia (green-blind)
#3F3C2F
Tritanopia (blue-blind)
#004740
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0c472d;
/* rgb */ color: rgb(12, 71, 45);
/* oklch */ color: oklch(35.4% 0.074 159.1);
Tailwind
colors: {
  custom: {
    50: '#567b66',
    500: '#0c472d',
    950: '#000000',
  },
}
SCSS
$custom: #0c472d;
$custom-light: #567b66;
$custom-dark: #000000;
JSON
{
  "hex": "#0c472d",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 45
  },
  "hsl": {
    "h": 153.559,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35394,
    "c": 0.07423,
    "h": 159.1
  },
  "luminance": 0.04774
}

Semantic roles & 50–950 ramp

primary
#0C472D
secondary
#832C52
accent
#3A89EE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030905
muted
#787B7A

Preview Lab

Preview with #0C472D

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

Preview Lab → · Contrast checker → · Palette generator →

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