#0C473F#0C473F

#0C473F is a dark, muted teal. Relative luminance 0.049; OKLCH L 36.0% C 0.059 H 181.5°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#0C473F
RGBrgb(12, 71, 63)
HSLhsl(172, 71%, 16%)
HSVhsv(172, 83%, 28%)
CMYKcmyk(83.1%, 0%, 11.3%, 72.2%)
CIE-LABlab(26.57, -20.36, -0.45)
CIE-LCHlch(26.57, 20.36, 181.27°)
OKLaboklab(35.96% -0.0592 -0.0015)
OKLCHoklch(35.96% 0.059 181.5)
XYZxyz(3.3016, 4.9431, 5.4818)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C473F #470C14
analogous
#0C4722 #0C473F #0C3247
triadic
#0C473F #3F0C47 #473F0C
tetradic
#0C473F #220C47 #470C14 #32470C
square
#0C473F #220C47 #470C14 #32470C
split-complementary
#0C473F #470C32 #47220C
monochromatic
#041A17 #041A17 #0C473F #157B6D #1EB09C

Accessibility & contrast

On white

10.56
#0C473F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#0C473F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C473F
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C473F#FFFFFF#000000##FFFFFF
##0C473F1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43423F
Deuteranopia (green-blind)
#3B3C40
Tritanopia (blue-blind)
#004845
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c473f;
/* rgb */ color: rgb(12, 71, 63);
/* oklch */ color: oklch(36.0% 0.059 181.5);
Tailwind
colors: {
  custom: {
    50: '#577a74',
    500: '#0c473f',
    950: '#000000',
  },
}
SCSS
$custom: #0c473f;
$custom-light: #577a74;
$custom-dark: #000000;
JSON
{
  "hex": "#0c473f",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 63
  },
  "hsl": {
    "h": 171.864,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.3596,
    "c": 0.05922,
    "h": 181.5
  },
  "luminance": 0.04944
}

Semantic roles & 50–950 ramp

primary
#0C473F
secondary
#832C38
accent
#3A52EE
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#030908
muted
#787B7B

Preview Lab

Preview with #0C473F

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

Preview Lab → · Contrast checker → · Palette generator →

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