#0C473B#0C473B

#0C473B is a dark, moderate teal. Relative luminance 0.049; OKLCH L 35.8% C 0.062 H 175.4°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#0C473B
RGBrgb(12, 71, 59)
HSLhsl(168, 71%, 16%)
HSVhsv(168, 83%, 28%)
CMYKcmyk(83.1%, 0%, 16.9%, 72.2%)
CIE-LABlab(26.45, -21.62, 1.98)
CIE-LCHlch(26.45, 21.71, 174.77°)
OKLaboklab(35.82% -0.0614 0.0049)
OKLCHoklch(35.82% 0.062 175.4)
XYZxyz(3.1939, 4.9000, 4.9143)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C473B #470C18
analogous
#0C471E #0C473B #0C3647
triadic
#0C473B #3B0C47 #473B0C
tetradic
#0C473B #1E0C47 #470C18 #36470C
square
#0C473B #1E0C47 #470C18 #36470C
split-complementary
#0C473B #470C36 #471E0C
monochromatic
#041A16 #041A16 #0C473B #157B67 #1EB092

Accessibility & contrast

On white

10.61
#0C473B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#0C473B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C473B
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C473B#FFFFFF#000000##FFFFFF
##0C473B1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44423A
Deuteranopia (green-blind)
#3C3C3C
Tritanopia (blue-blind)
#004843
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c473b;
/* rgb */ color: rgb(12, 71, 59);
/* oklch */ color: oklch(35.8% 0.062 175.4);
Tailwind
colors: {
  custom: {
    50: '#567a70',
    500: '#0c473b',
    950: '#000000',
  },
}
SCSS
$custom: #0c473b;
$custom-light: #567a70;
$custom-dark: #000000;
JSON
{
  "hex": "#0c473b",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 59
  },
  "hsl": {
    "h": 167.797,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35818,
    "c": 0.06162,
    "h": 175.4
  },
  "luminance": 0.049
}

Semantic roles & 50–950 ramp

primary
#0C473B
secondary
#832C3E
accent
#3A5FEE
background
#F5F7F6
surface
#E9EDEC
border
#C5C8C7
text
#030907
muted
#787B7A

Preview Lab

Preview with #0C473B

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

Preview Lab → · Contrast checker → · Palette generator →

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