#0C4533#0C4533

#0C4533 is a dark, moderate teal. Relative luminance 0.046; OKLCH L 35.0% C 0.065 H 166.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#0C4533
RGBrgb(12, 69, 51)
HSLhsl(161, 70%, 16%)
HSVhsv(161, 83%, 27%)
CMYKcmyk(82.6%, 0%, 26.1%, 72.9%)
CIE-LABlab(25.48, -22.98, 5.81)
CIE-LCHlch(25.48, 23.70, 165.82°)
OKLaboklab(34.95% -0.0635 0.0148)
OKLCHoklch(34.95% 0.065 166.9)
XYZxyz(2.8770, 4.5731, 3.8624)
Luminance0.0457 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4533 #450C1E
analogous
#0C4516 #0C4533 #0C3A45
triadic
#0C4533 #330C45 #45330C
tetradic
#0C4533 #160C45 #450C1E #3A450C
square
#0C4533 #160C45 #450C1E #3A450C
split-complementary
#0C4533 #450C3A #45160C
monochromatic
#051A13 #051A13 #0C4533 #15795A #1EAD80

Accessibility & contrast

On white

10.97
#0C4533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#0C4533 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4533
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4533#FFFFFF#000000##FFFFFF
##0C45331.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434032
Deuteranopia (green-blind)
#3C3A34
Tritanopia (blue-blind)
#004540
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c4533;
/* rgb */ color: rgb(12, 69, 51);
/* oklch */ color: oklch(35.0% 0.065 166.9);
Tailwind
colors: {
  custom: {
    50: '#55796a',
    500: '#0c4533',
    950: '#000000',
  },
}
SCSS
$custom: #0c4533;
$custom-light: #55796a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4533",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 51
  },
  "hsl": {
    "h": 161.053,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34952,
    "c": 0.06526,
    "h": 166.9
  },
  "luminance": 0.04573
}

Semantic roles & 50–950 ramp

primary
#0C4533
secondary
#812C47
accent
#3B73ED
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030906
muted
#787B7A

Preview Lab

Preview with #0C4533

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

Preview Lab → · Contrast checker → · Palette generator →

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