#0C4130#0C4130

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

Color values

HEX#0C4130
RGBrgb(12, 65, 48)
HSLhsl(161, 69%, 15%)
HSVhsv(161, 82%, 25%)
CMYKcmyk(81.5%, 0%, 26.2%, 74.5%)
CIE-LABlab(23.91, -21.84, 5.54)
CIE-LCHlch(23.91, 22.54, 165.76°)
OKLaboklab(33.63% -0.0604 0.0142)
OKLCHoklch(33.63% 0.062 166.8)
XYZxyz(2.5751, 4.0719, 3.4460)
Luminance0.0407 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4130 #410C1D
analogous
#0C4116 #0C4130 #0C3741
triadic
#0C4130 #300C41 #41300C
tetradic
#0C4130 #160C41 #410C1D #37410C
square
#0C4130 #160C41 #410C1D #37410C
split-complementary
#0C4130 #410C37 #41160C
monochromatic
#051A13 #051A13 #0C4130 #167556 #1FA87C

Accessibility & contrast

On white

11.57
#0C4130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4130
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4130#FFFFFF#000000##FFFFFF
##0C41301.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4130;
/* rgb */ color: rgb(12, 65, 48);
/* oklch */ color: oklch(33.6% 0.062 166.8);
Tailwind
colors: {
  custom: {
    50: '#547668',
    500: '#0c4130',
    950: '#000000',
  },
}
SCSS
$custom: #0c4130;
$custom-light: #547668;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4130",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 48
  },
  "hsl": {
    "h": 160.755,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33634,
    "c": 0.06208,
    "h": 166.8
  },
  "luminance": 0.04072
}

Semantic roles & 50–950 ramp

primary
#0C4130
secondary
#7D2C46
accent
#3C74EC
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #0C4130

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

Preview Lab → · Contrast checker → · Palette generator →

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