#0C4D2A#0C4D2A

#0C4D2A is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.2% C 0.087 H 154.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#0C4D2A
RGBrgb(12, 77, 42)
HSLhsl(148, 73%, 17%)
HSVhsv(148, 84%, 30%)
CMYKcmyk(84.4%, 0%, 45.5%, 69.8%)
CIE-LABlab(28.25, -28.91, 15.28)
CIE-LCHlch(28.25, 32.71, 152.14°)
OKLaboklab(37.17% -0.0779 0.0379)
OKLCHoklch(37.17% 0.087 154)
XYZxyz(3.2231, 5.5527, 3.0919)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D2A #4D0C2F
analogous
#0F4D0C #0C4D2A #0C4D4A
triadic
#0C4D2A #2A0C4D #4D2A0C
tetradic
#0C4D2A #0C0F4D #4D0C2F #4D4A0C
square
#0C4D2A #0C0F4D #4D0C2F #4D4A0C
split-complementary
#0C4D2A #4A0C4D #4D0C0F
monochromatic
#041A0E #041A0E #0C4D2A #148247 #1DB764

Accessibility & contrast

On white

9.95
#0C4D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#0C4D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D2A
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D2A#FFFFFF#000000##FFFFFF
##0C4D2A1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4628
Deuteranopia (green-blind)
#45402C
Tritanopia (blue-blind)
#004C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4d2a;
/* rgb */ color: rgb(12, 77, 42);
/* oklch */ color: oklch(37.2% 0.087 154.0);
Tailwind
colors: {
  custom: {
    50: '#577f64',
    500: '#0c4d2a',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d2a;
$custom-light: #577f64;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d2a",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 42
  },
  "hsl": {
    "h": 147.692,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37167,
    "c": 0.08661,
    "h": 154
  },
  "luminance": 0.05553
}

Semantic roles & 50–950 ramp

primary
#0C4D2A
secondary
#892C5E
accent
#389BF0
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0C4D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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