#0C4236#0C4236

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

Color values

HEX#0C4236
RGBrgb(12, 66, 54)
HSLhsl(167, 69%, 15%)
HSVhsv(167, 82%, 26%)
CMYKcmyk(81.8%, 0%, 18.2%, 74.1%)
CIE-LABlab(24.45, -20.58, 2.37)
CIE-LCHlch(24.45, 20.71, 173.43°)
OKLaboklab(34.14% -0.0582 0.006)
OKLCHoklch(34.14% 0.059 174.2)
XYZxyz(2.7653, 4.2406, 4.1621)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4236 #420C18
analogous
#0C421B #0C4236 #0C3342
triadic
#0C4236 #360C42 #42360C
tetradic
#0C4236 #1B0C42 #420C18 #33420C
square
#0C4236 #1B0C42 #420C18 #33420C
split-complementary
#0C4236 #420C33 #421B0C
monochromatic
#051A15 #051A15 #0C4236 #157660 #1FAA8B

Accessibility & contrast

On white

11.36
#0C4236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4236
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4236#FFFFFF#000000##FFFFFF
##0C42361.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3D35
Deuteranopia (green-blind)
#383837
Tritanopia (blue-blind)
#00433E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0c4236;
/* rgb */ color: rgb(12, 66, 54);
/* oklch */ color: oklch(34.1% 0.059 174.2);
Tailwind
colors: {
  custom: {
    50: '#55776d',
    500: '#0c4236',
    950: '#000000',
  },
}
SCSS
$custom: #0c4236;
$custom-light: #55776d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4236",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 54
  },
  "hsl": {
    "h": 166.667,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34135,
    "c": 0.05854,
    "h": 174.2
  },
  "luminance": 0.04241
}

Semantic roles & 50–950 ramp

primary
#0C4236
secondary
#7E2C3E
accent
#3C63EC
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030807
muted
#787B7A

Preview Lab

Preview with #0C4236

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

Preview Lab → · Contrast checker → · Palette generator →

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