#0C4D1C#0C4D1C

#0C4D1C is a dark, moderate green. Relative luminance 0.055; OKLCH L 36.9% C 0.101 H 147.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#0C4D1C
RGBrgb(12, 77, 28)
HSLhsl(135, 73%, 17%)
HSVhsv(135, 84%, 30%)
CMYKcmyk(84.4%, 0%, 63.6%, 69.8%)
CIE-LABlab(28.03, -31.52, 23.19)
CIE-LCHlch(28.03, 39.13, 143.66°)
OKLaboklab(36.91% -0.0848 0.055)
OKLCHoklch(36.91% 0.101 147)
XYZxyz(3.0149, 5.4694, 1.9952)
Luminance0.0547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D1C #4D0C3D
analogous
#1D4D0C #0C4D1C #0C4D3C
triadic
#0C4D1C #1C0C4D #4D1C0C
tetradic
#0C4D1C #0C1D4D #4D0C3D #4D3C0C
square
#0C4D1C #0C1D4D #4D0C3D #4D3C0C
split-complementary
#0C4D1C #3C0C4D #4D0C1D
monochromatic
#041A0A #041A0A #0C4D1C #14822F #1DB743

Accessibility & contrast

On white

10.03
#0C4D1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#0C4D1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D1C
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D1C#FFFFFF#000000##FFFFFF
##0C4D1C1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4517
Deuteranopia (green-blind)
#474020
Tritanopia (blue-blind)
#004B42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4d1c;
/* rgb */ color: rgb(12, 77, 28);
/* oklch */ color: oklch(36.9% 0.101 147.0);
Tailwind
colors: {
  custom: {
    50: '#58805a',
    500: '#0c4d1c',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d1c;
$custom-light: #58805a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d1c",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 28
  },
  "hsl": {
    "h": 134.769,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36911,
    "c": 0.1011,
    "h": 147
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#0C4D1C
secondary
#892C72
accent
#38C3F0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0C4D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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