#0C4A1D#0C4A1D

#0C4A1D is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.0% C 0.096 H 147.8°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#0C4A1D
RGBrgb(12, 74, 29)
HSLhsl(136, 72%, 17%)
HSVhsv(136, 84%, 29%)
CMYKcmyk(83.8%, 0%, 60.8%, 71%)
CIE-LABlab(26.92, -30.16, 21.30)
CIE-LCHlch(26.92, 36.93, 144.76°)
OKLaboklab(35.99% -0.0811 0.051)
OKLCHoklch(35.99% 0.096 147.8)
XYZxyz(2.8219, 5.0641, 1.9909)
Luminance0.0506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A1D #4A0C39
analogous
#1A4A0C #0C4A1D #0C4A3C
triadic
#0C4A1D #1D0C4A #4A1D0C
tetradic
#0C4A1D #0C1A4A #4A0C39 #4A3C0C
square
#0C4A1D #0C1A4A #4A0C39 #4A3C0C
split-complementary
#0C4A1D #3C0C4A #4A0C1A
monochromatic
#041A0A #041A0A #0C4A1D #157F32 #1DB346

Accessibility & contrast

On white

10.43
#0C4A1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4A1D
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A1D#FFFFFF#000000##FFFFFF
##0C4A1D1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4319
Deuteranopia (green-blind)
#443E20
Tritanopia (blue-blind)
#004840
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0c4a1d;
/* rgb */ color: rgb(12, 74, 29);
/* oklch */ color: oklch(36.0% 0.096 147.8);
Tailwind
colors: {
  custom: {
    50: '#577d5a',
    500: '#0c4a1d',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a1d;
$custom-light: #577d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a1d",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 29
  },
  "hsl": {
    "h": 136.452,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.3599,
    "c": 0.09581,
    "h": 147.8
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

primary
#0C4A1D
secondary
#862C6D
accent
#39BDEF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0C4A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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