#0C4135#0C4135

#0C4135 is a dark, muted teal. Relative luminance 0.041; OKLCH L 33.8% C 0.058 H 173.9°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#0C4135
RGBrgb(12, 65, 53)
HSLhsl(166, 69%, 15%)
HSVhsv(166, 82%, 25%)
CMYKcmyk(81.5%, 0%, 18.5%, 74.5%)
CIE-LABlab(24.05, -20.36, 2.45)
CIE-LCHlch(24.05, 20.51, 173.13°)
OKLaboklab(33.8% -0.0576 0.0062)
OKLCHoklch(33.8% 0.058 173.9)
XYZxyz(2.6842, 4.1155, 4.0204)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4135 #410C18
analogous
#0C411A #0C4135 #0C3241
triadic
#0C4135 #350C41 #41350C
tetradic
#0C4135 #1A0C41 #410C18 #32410C
square
#0C4135 #1A0C41 #410C18 #32410C
split-complementary
#0C4135 #410C32 #411A0C
monochromatic
#051A15 #051A15 #0C4135 #16755F #1FA889

Accessibility & contrast

On white

11.52
#0C4135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#0C4135 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4135
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4135#FFFFFF#000000##FFFFFF
##0C41351.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3C34
Deuteranopia (green-blind)
#373736
Tritanopia (blue-blind)
#00423D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0c4135;
/* rgb */ color: rgb(12, 65, 53);
/* oklch */ color: oklch(33.8% 0.058 173.9);
Tailwind
colors: {
  custom: {
    50: '#54766c',
    500: '#0c4135',
    950: '#000000',
  },
}
SCSS
$custom: #0c4135;
$custom-light: #54766c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4135",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 53
  },
  "hsl": {
    "h": 166.415,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33797,
    "c": 0.05792,
    "h": 173.9
  },
  "luminance": 0.04116
}

Semantic roles & 50–950 ramp

primary
#0C4135
secondary
#7D2C3E
accent
#3C64EC
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #0C4135

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

Preview Lab → · Contrast checker → · Palette generator →

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