#0C4328#0C4328

#0C4328 is a dark, moderate teal. Relative luminance 0.042; OKLCH L 34.0% C 0.073 H 156.8°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#0C4328
RGBrgb(12, 67, 40)
HSLhsl(151, 70%, 15%)
HSVhsv(151, 82%, 26%)
CMYKcmyk(82.1%, 0%, 40.3%, 73.7%)
CIE-LABlab(24.47, -24.91, 11.50)
CIE-LCHlch(24.47, 27.44, 155.22°)
OKLaboklab(34.03% -0.0674 0.0289)
OKLCHoklch(34.03% 0.073 156.8)
XYZxyz(2.5415, 4.2454, 2.6926)
Luminance0.0425 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4328 #430C27
analogous
#0C430C #0C4328 #0C4243
triadic
#0C4328 #280C43 #43280C
tetradic
#0C4328 #0C0C43 #430C27 #42430C
square
#0C4328 #0C0C43 #430C27 #42430C
split-complementary
#0C4328 #430C42 #430C0C
monochromatic
#051A0F #051A0F #0C4328 #157747 #1FAB66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C4328#FFFFFF#000000##FFFFFF
##0C43281.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)
#423D26
Deuteranopia (green-blind)
#3C382A
Tritanopia (blue-blind)
#00423C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0c4328;
/* rgb */ color: rgb(12, 67, 40);
/* oklch */ color: oklch(34.0% 0.073 156.8);
Tailwind
colors: {
  custom: {
    50: '#547862',
    500: '#0c4328',
    950: '#000000',
  },
}
SCSS
$custom: #0c4328;
$custom-light: #547862;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4328",
  "rgb": {
    "r": 12,
    "g": 67,
    "b": 40
  },
  "hsl": {
    "h": 150.545,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34029,
    "c": 0.07333,
    "h": 156.8
  },
  "luminance": 0.04246
}

Semantic roles & 50–950 ramp

primary
#0C4328
secondary
#7F2C55
accent
#3B92EC
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030905
muted
#787B79

Preview Lab

Preview with #0C4328

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

Preview Lab → · Contrast checker → · Palette generator →

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