#0C4532#0C4532

#0C4532 is a dark, moderate teal. Relative luminance 0.046; OKLCH L 34.9% C 0.066 H 165.7°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#0C4532
RGBrgb(12, 69, 50)
HSLhsl(160, 70%, 16%)
HSVhsv(160, 83%, 27%)
CMYKcmyk(82.6%, 0%, 27.5%, 72.9%)
CIE-LABlab(25.46, -23.26, 6.42)
CIE-LCHlch(25.46, 24.13, 164.57°)
OKLaboklab(34.92% -0.0641 0.0164)
OKLCHoklch(34.92% 0.066 165.7)
XYZxyz(2.8551, 4.5644, 3.7475)
Luminance0.0457 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4532 #450C1F
analogous
#0C4515 #0C4532 #0C3B45
triadic
#0C4532 #320C45 #45320C
tetradic
#0C4532 #150C45 #450C1F #3B450C
square
#0C4532 #150C45 #450C1F #3B450C
split-complementary
#0C4532 #450C3B #45150C
monochromatic
#051A13 #051A13 #0C4532 #157958 #1EAD7E

Accessibility & contrast

On white

10.98
#0C4532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4532
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4532#FFFFFF#000000##FFFFFF
##0C45321.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F31
Deuteranopia (green-blind)
#3C3A33
Tritanopia (blue-blind)
#004540
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c4532;
/* rgb */ color: rgb(12, 69, 50);
/* oklch */ color: oklch(34.9% 0.066 165.7);
Tailwind
colors: {
  custom: {
    50: '#557969',
    500: '#0c4532',
    950: '#000000',
  },
}
SCSS
$custom: #0c4532;
$custom-light: #557969;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4532",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 50
  },
  "hsl": {
    "h": 160,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34921,
    "c": 0.06618,
    "h": 165.7
  },
  "luminance": 0.04565
}

Semantic roles & 50–950 ramp

primary
#0C4532
secondary
#812C48
accent
#3B76ED
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030906
muted
#787B7A

Preview Lab

Preview with #0C4532

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

Preview Lab → · Contrast checker → · Palette generator →

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