#0C4239#0C4239

#0C4239 is a dark, muted teal. Relative luminance 0.043; OKLCH L 34.2% C 0.057 H 178.9°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#0C4239
RGBrgb(12, 66, 57)
HSLhsl(170, 69%, 15%)
HSVhsv(170, 82%, 26%)
CMYKcmyk(81.8%, 0%, 13.6%, 74.1%)
CIE-LABlab(24.54, -19.64, 0.53)
CIE-LCHlch(24.54, 19.65, 178.46°)
OKLaboklab(34.24% -0.0565 0.0011)
OKLCHoklch(34.24% 0.057 178.9)
XYZxyz(2.8380, 4.2697, 4.5447)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4239 #420C15
analogous
#0C421E #0C4239 #0C3042
triadic
#0C4239 #390C42 #42390C
tetradic
#0C4239 #1E0C42 #420C15 #30420C
square
#0C4239 #1E0C42 #420C15 #30420C
split-complementary
#0C4239 #420C30 #421E0C
monochromatic
#051A16 #051A16 #0C4239 #157666 #1FAA92

Accessibility & contrast

On white

11.33
#0C4239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4239
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4239#FFFFFF#000000##FFFFFF
##0C42391.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3D39
Deuteranopia (green-blind)
#38383A
Tritanopia (blue-blind)
#00433F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0c4239;
/* rgb */ color: rgb(12, 66, 57);
/* oklch */ color: oklch(34.2% 0.057 178.9);
Tailwind
colors: {
  custom: {
    50: '#55776f',
    500: '#0c4239',
    950: '#000000',
  },
}
SCSS
$custom: #0c4239;
$custom-light: #55776f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4239",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 57
  },
  "hsl": {
    "h": 170,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34241,
    "c": 0.05656,
    "h": 178.9
  },
  "luminance": 0.0427
}

Semantic roles & 50–950 ramp

primary
#0C4239
secondary
#7E2C39
accent
#3C59EC
background
#F5F7F6
surface
#E9EDEC
border
#C5C8C7
text
#030807
muted
#787B7A

Preview Lab

Preview with #0C4239

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

Preview Lab → · Contrast checker → · Palette generator →

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