#0C412B#0C412B

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

Color values

HEX#0C412B
RGBrgb(12, 65, 43)
HSLhsl(155, 69%, 15%)
HSVhsv(155, 82%, 25%)
CMYKcmyk(81.5%, 0%, 33.8%, 74.5%)
CIE-LABlab(23.78, -23.21, 8.63)
CIE-LCHlch(23.78, 24.76, 159.60°)
OKLaboklab(33.49% -0.0633 0.0219)
OKLCHoklch(33.49% 0.067 160.9)
XYZxyz(2.4777, 4.0329, 2.9329)
Luminance0.0403 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C412B #410C22
analogous
#0C4110 #0C412B #0C3D41
triadic
#0C412B #2B0C41 #412B0C
tetradic
#0C412B #100C41 #410C22 #3D410C
square
#0C412B #100C41 #410C22 #3D410C
split-complementary
#0C412B #410C3D #41100C
monochromatic
#051A11 #051A11 #0C412B #16754D #1FA86F

Accessibility & contrast

On white

11.62
#0C412B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C412B
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C412B#FFFFFF#000000##FFFFFF
##0C412B1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c412b;
/* rgb */ color: rgb(12, 65, 43);
/* oklch */ color: oklch(33.5% 0.067 160.9);
Tailwind
colors: {
  custom: {
    50: '#547664',
    500: '#0c412b',
    950: '#000000',
  },
}
SCSS
$custom: #0c412b;
$custom-light: #547664;
$custom-dark: #000000;
JSON
{
  "hex": "#0c412b",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 43
  },
  "hsl": {
    "h": 155.094,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33487,
    "c": 0.067,
    "h": 160.9
  },
  "luminance": 0.04033
}

Semantic roles & 50–950 ramp

primary
#0C412B
secondary
#7D2C4D
accent
#3C85EC
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0C412B

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

Preview Lab → · Contrast checker → · Palette generator →

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