#0C412A#0C412A

#0C412A is a dark, moderate teal. Relative luminance 0.040; OKLCH L 33.5% C 0.068 H 159.8°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#0C412A
RGBrgb(12, 65, 42)
HSLhsl(154, 69%, 15%)
HSVhsv(154, 82%, 25%)
CMYKcmyk(81.5%, 0%, 35.4%, 74.5%)
CIE-LABlab(23.76, -23.47, 9.25)
CIE-LCHlch(23.76, 25.23, 158.49°)
OKLaboklab(33.46% -0.0639 0.0234)
OKLCHoklch(33.46% 0.068 159.8)
XYZxyz(2.4596, 4.0256, 2.8374)
Luminance0.0403 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C412A #410C23
analogous
#0C410F #0C412A #0C3E41
triadic
#0C412A #2A0C41 #412A0C
tetradic
#0C412A #0F0C41 #410C23 #3E410C
square
#0C412A #0F0C41 #410C23 #3E410C
split-complementary
#0C412A #410C3E #410F0C
monochromatic
#051A11 #051A11 #0C412A #16754B #1FA86D

Accessibility & contrast

On white

11.63
#0C412A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#0C412A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C412A
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C412A#FFFFFF#000000##FFFFFF
##0C412A1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B29
Deuteranopia (green-blind)
#39372B
Tritanopia (blue-blind)
#00413B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0c412a;
/* rgb */ color: rgb(12, 65, 42);
/* oklch */ color: oklch(33.5% 0.068 159.8);
Tailwind
colors: {
  custom: {
    50: '#547663',
    500: '#0c412a',
    950: '#000000',
  },
}
SCSS
$custom: #0c412a;
$custom-light: #547663;
$custom-dark: #000000;
JSON
{
  "hex": "#0c412a",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 42
  },
  "hsl": {
    "h": 153.962,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33459,
    "c": 0.06804,
    "h": 159.8
  },
  "luminance": 0.04026
}

Semantic roles & 50–950 ramp

primary
#0C412A
secondary
#7D2C4F
accent
#3C88EC
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0C412A

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

Preview Lab → · Contrast checker → · Palette generator →

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