#0C4D2C#0C4D2C

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

Color values

HEX#0C4D2C
RGBrgb(12, 77, 44)
HSLhsl(150, 73%, 17%)
HSVhsv(150, 84%, 30%)
CMYKcmyk(84.4%, 0%, 42.9%, 69.8%)
CIE-LABlab(28.29, -28.47, 14.11)
CIE-LCHlch(28.29, 31.77, 153.64°)
OKLaboklab(37.21% -0.0768 0.0352)
OKLCHoklch(37.21% 0.084 155.4)
XYZxyz(3.2598, 5.5674, 3.2852)
Luminance0.0557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D2C #4D0C2D
analogous
#0D4D0C #0C4D2C #0C4D4C
triadic
#0C4D2C #2C0C4D #4D2C0C
tetradic
#0C4D2C #0C0D4D #4D0C2D #4D4C0C
square
#0C4D2C #0C0D4D #4D0C2D #4D4C0C
split-complementary
#0C4D2C #4C0C4D #4D0C0D
monochromatic
#041A0F #041A0F #0C4D2C #14824A #1DB769

Accessibility & contrast

On white

9.94
#0C4D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4D2C
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D2C#FFFFFF#000000##FFFFFF
##0C4D2C1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D462A
Deuteranopia (green-blind)
#45412E
Tritanopia (blue-blind)
#004C45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4d2c;
/* rgb */ color: rgb(12, 77, 44);
/* oklch */ color: oklch(37.2% 0.084 155.4);
Tailwind
colors: {
  custom: {
    50: '#577f65',
    500: '#0c4d2c',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d2c;
$custom-light: #577f65;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d2c",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 44
  },
  "hsl": {
    "h": 149.538,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37212,
    "c": 0.08447,
    "h": 155.4
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#0C4D2C
secondary
#892C5B
accent
#3895F0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #0C4D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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