#0C412F#0C412F

#0C412F is a dark, moderate teal. Relative luminance 0.041; OKLCH L 33.6% C 0.063 H 165.5°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#0C412F
RGBrgb(12, 65, 47)
HSLhsl(160, 69%, 15%)
HSVhsv(160, 82%, 25%)
CMYKcmyk(81.5%, 0%, 27.7%, 74.5%)
CIE-LABlab(23.88, -22.13, 6.16)
CIE-LCHlch(23.88, 22.97, 164.44°)
OKLaboklab(33.6% -0.061 0.0157)
OKLCHoklch(33.6% 0.063 165.5)
XYZxyz(2.5547, 4.0637, 3.3385)
Luminance0.0406 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C412F #410C1E
analogous
#0C4115 #0C412F #0C3841
triadic
#0C412F #2F0C41 #412F0C
tetradic
#0C412F #150C41 #410C1E #38410C
square
#0C412F #150C41 #410C1E #38410C
split-complementary
#0C412F #410C38 #41150C
monochromatic
#051A13 #051A13 #0C412F #167554 #1FA87A

Accessibility & contrast

On white

11.58
#0C412F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C412F
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C412F#FFFFFF#000000##FFFFFF
##0C412F1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3C2E
Deuteranopia (green-blind)
#393730
Tritanopia (blue-blind)
#00413C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0c412f;
/* rgb */ color: rgb(12, 65, 47);
/* oklch */ color: oklch(33.6% 0.063 165.5);
Tailwind
colors: {
  custom: {
    50: '#547667',
    500: '#0c412f',
    950: '#000000',
  },
}
SCSS
$custom: #0c412f;
$custom-light: #547667;
$custom-dark: #000000;
JSON
{
  "hex": "#0c412f",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 47
  },
  "hsl": {
    "h": 159.623,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33603,
    "c": 0.06301,
    "h": 165.5
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

primary
#0C412F
secondary
#7D2C47
accent
#3C78EC
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #0C412F

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

Preview Lab → · Contrast checker → · Palette generator →

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