#0C4235#0C4235

#0C4235 is a dark, muted teal. Relative luminance 0.042; OKLCH L 34.1% C 0.059 H 172.7°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#0C4235
RGBrgb(12, 66, 53)
HSLhsl(166, 69%, 15%)
HSVhsv(166, 82%, 26%)
CMYKcmyk(81.8%, 0%, 19.7%, 74.1%)
CIE-LABlab(24.42, -20.88, 2.99)
CIE-LCHlch(24.42, 21.09, 171.86°)
OKLaboklab(34.1% -0.0588 0.0076)
OKLCHoklch(34.1% 0.059 172.7)
XYZxyz(2.7421, 4.2313, 4.0397)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4235 #420C19
analogous
#0C421A #0C4235 #0C3442
triadic
#0C4235 #350C42 #42350C
tetradic
#0C4235 #1A0C42 #420C19 #34420C
square
#0C4235 #1A0C42 #420C19 #34420C
split-complementary
#0C4235 #420C34 #421A0C
monochromatic
#051A15 #051A15 #0C4235 #15765F #1FAA88

Accessibility & contrast

On white

11.37
#0C4235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#0C4235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4235
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4235#FFFFFF#000000##FFFFFF
##0C42351.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403D34
Deuteranopia (green-blind)
#383836
Tritanopia (blue-blind)
#00433E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0c4235;
/* rgb */ color: rgb(12, 66, 53);
/* oklch */ color: oklch(34.1% 0.059 172.7);
Tailwind
colors: {
  custom: {
    50: '#55776c',
    500: '#0c4235',
    950: '#000000',
  },
}
SCSS
$custom: #0c4235;
$custom-light: #55776c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4235",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 53
  },
  "hsl": {
    "h": 165.556,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34101,
    "c": 0.05929,
    "h": 172.7
  },
  "luminance": 0.04232
}

Semantic roles & 50–950 ramp

primary
#0C4235
secondary
#7E2C40
accent
#3C66EC
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #0C4235

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

Preview Lab → · Contrast checker → · Palette generator →

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