#0C4229#0C4229

#0C4229 is a dark, moderate teal. Relative luminance 0.041; OKLCH L 33.7% C 0.071 H 158.3°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#0C4229
RGBrgb(12, 66, 41)
HSLhsl(152, 69%, 15%)
HSVhsv(152, 82%, 26%)
CMYKcmyk(81.8%, 0%, 37.9%, 74.1%)
CIE-LABlab(24.11, -24.20, 10.38)
CIE-LCHlch(24.11, 26.33, 156.78°)
OKLaboklab(33.74% -0.0656 0.0262)
OKLCHoklch(33.74% 0.071 158.3)
XYZxyz(2.4998, 4.1344, 2.7637)
Luminance0.0413 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4229 #420C25
analogous
#0C420E #0C4229 #0C4042
triadic
#0C4229 #290C42 #42290C
tetradic
#0C4229 #0E0C42 #420C25 #40420C
square
#0C4229 #0E0C42 #420C25 #40420C
split-complementary
#0C4229 #420C40 #420E0C
monochromatic
#051A10 #051A10 #0C4229 #157649 #1FAA69

Accessibility & contrast

On white

11.49
#0C4229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#0C4229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4229
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4229#FFFFFF#000000##FFFFFF
##0C42291.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C27
Deuteranopia (green-blind)
#3B372B
Tritanopia (blue-blind)
#00423B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0c4229;
/* rgb */ color: rgb(12, 66, 41);
/* oklch */ color: oklch(33.7% 0.071 158.3);
Tailwind
colors: {
  custom: {
    50: '#547762',
    500: '#0c4229',
    950: '#000000',
  },
}
SCSS
$custom: #0c4229;
$custom-light: #547762;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4229",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 41
  },
  "hsl": {
    "h": 152.222,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33744,
    "c": 0.07068,
    "h": 158.3
  },
  "luminance": 0.04135
}

Semantic roles & 50–950 ramp

primary
#0C4229
secondary
#7E2C52
accent
#3C8DEC
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0C4229

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

Preview Lab → · Contrast checker → · Palette generator →

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