#0C412D#0C412D

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

Color values

HEX#0C412D
RGBrgb(12, 65, 45)
HSLhsl(157, 69%, 15%)
HSVhsv(157, 82%, 25%)
CMYKcmyk(81.5%, 0%, 30.8%, 74.5%)
CIE-LABlab(23.83, -22.68, 7.40)
CIE-LCHlch(23.83, 23.85, 161.93°)
OKLaboklab(33.54% -0.0622 0.0189)
OKLCHoklch(33.54% 0.065 163.1)
XYZxyz(2.5153, 4.0479, 3.1309)
Luminance0.0405 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C412D #410C20
analogous
#0C4112 #0C412D #0C3B41
triadic
#0C412D #2D0C41 #412D0C
tetradic
#0C412D #120C41 #410C20 #3B410C
square
#0C412D #120C41 #410C20 #3B410C
split-complementary
#0C412D #410C3B #41120C
monochromatic
#051A12 #051A12 #0C412D #167551 #1FA875

Accessibility & contrast

On white

11.60
#0C412D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C412D
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C412D#FFFFFF#000000##FFFFFF
##0C412D1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c412d;
/* rgb */ color: rgb(12, 65, 45);
/* oklch */ color: oklch(33.5% 0.065 163.1);
Tailwind
colors: {
  custom: {
    50: '#547666',
    500: '#0c412d',
    950: '#000000',
  },
}
SCSS
$custom: #0c412d;
$custom-light: #547666;
$custom-dark: #000000;
JSON
{
  "hex": "#0c412d",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 45
  },
  "hsl": {
    "h": 157.358,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33543,
    "c": 0.06496,
    "h": 163.1
  },
  "luminance": 0.04048
}

Semantic roles & 50–950 ramp

primary
#0C412D
secondary
#7D2C4A
accent
#3C7EEC
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030805
muted
#787B7A

Preview Lab

Preview with #0C412D

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

Preview Lab → · Contrast checker → · Palette generator →

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