#0C4932#0C4932

#0C4932 is a dark, moderate teal. Relative luminance 0.051; OKLCH L 36.1% C 0.072 H 162.6°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#0C4932
RGBrgb(12, 73, 50)
HSLhsl(157, 72%, 17%)
HSVhsv(157, 84%, 29%)
CMYKcmyk(83.6%, 0%, 31.5%, 71.4%)
CIE-LABlab(26.94, -25.18, 8.49)
CIE-LCHlch(26.94, 26.58, 161.36°)
OKLaboklab(36.14% -0.0688 0.0216)
OKLCHoklch(36.14% 0.072 162.6)
XYZxyz(3.1095, 5.0732, 3.8323)
Luminance0.0507 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4932 #490C23
analogous
#0C4914 #0C4932 #0C4249
triadic
#0C4932 #320C49 #49320C
tetradic
#0C4932 #140C49 #490C23 #42490C
square
#0C4932 #140C49 #490C23 #42490C
split-complementary
#0C4932 #490C42 #49140C
monochromatic
#041A12 #041A12 #0C4932 #157E56 #1DB27A

Accessibility & contrast

On white

10.42
#0C4932 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#0C4932 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4932
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4932#FFFFFF#000000##FFFFFF
##0C49321.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484331
Deuteranopia (green-blind)
#403D34
Tritanopia (blue-blind)
#004943
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0c4932;
/* rgb */ color: rgb(12, 73, 50);
/* oklch */ color: oklch(36.1% 0.072 162.6);
Tailwind
colors: {
  custom: {
    50: '#567c6a',
    500: '#0c4932',
    950: '#000000',
  },
}
SCSS
$custom: #0c4932;
$custom-light: #567c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4932",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 50
  },
  "hsl": {
    "h": 157.377,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36142,
    "c": 0.07216,
    "h": 162.6
  },
  "luminance": 0.05074
}

Semantic roles & 50–950 ramp

primary
#0C4932
secondary
#852C4D
accent
#397EEE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030906
muted
#787B7A

Preview Lab

Preview with #0C4932

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

Preview Lab → · Contrast checker → · Palette generator →

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