#0C4D1D#0C4D1D

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

Color values

HEX#0C4D1D
RGBrgb(12, 77, 29)
HSLhsl(136, 73%, 17%)
HSVhsv(136, 84%, 30%)
CMYKcmyk(84.4%, 0%, 62.3%, 69.8%)
CIE-LABlab(28.05, -31.36, 22.65)
CIE-LCHlch(28.05, 38.69, 144.16°)
OKLaboklab(36.93% -0.0844 0.054)
OKLCHoklch(36.93% 0.1 147.4)
XYZxyz(3.0270, 5.4743, 2.0593)
Luminance0.0548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D1D #4D0C3C
analogous
#1C4D0C #0C4D1D #0C4D3D
triadic
#0C4D1D #1D0C4D #4D1D0C
tetradic
#0C4D1D #0C1C4D #4D0C3C #4D3D0C
square
#0C4D1D #0C1C4D #4D0C3C #4D3D0C
split-complementary
#0C4D1D #3D0C4D #4D0C1C
monochromatic
#041A0A #041A0A #0C4D1D #148231 #1DB745

Accessibility & contrast

On white

10.02
#0C4D1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#0C4D1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D1D
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D1D#FFFFFF#000000##FFFFFF
##0C4D1D1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4d1d;
/* rgb */ color: rgb(12, 77, 29);
/* oklch */ color: oklch(36.9% 0.100 147.4);
Tailwind
colors: {
  custom: {
    50: '#58805a',
    500: '#0c4d1d',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d1d;
$custom-light: #58805a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d1d",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 29
  },
  "hsl": {
    "h": 135.692,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36926,
    "c": 0.10014,
    "h": 147.4
  },
  "luminance": 0.05475
}

Semantic roles & 50–950 ramp

primary
#0C4D1D
secondary
#892C70
accent
#38C0F0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0C4D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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