#0C4C15#0C4C15

#0C4C15 is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.5% C 0.106 H 144.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#0C4C15
RGBrgb(12, 76, 21)
HSLhsl(128, 73%, 17%)
HSVhsv(128, 84%, 30%)
CMYKcmyk(84.2%, 0%, 72.4%, 70.2%)
CIE-LABlab(27.58, -32.10, 26.34)
CIE-LCHlch(27.58, 41.52, 140.64°)
OKLaboklab(36.51% -0.0867 0.061)
OKLCHoklch(36.51% 0.106 144.9)
XYZxyz(2.8712, 5.3009, 1.5812)
Luminance0.0530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4C15 #4C0C43
analogous
#234C0C #0C4C15 #0C4C35
triadic
#0C4C15 #150C4C #4C150C
tetradic
#0C4C15 #0C234C #4C0C43 #4C350C
square
#0C4C15 #0C234C #4C0C43 #4C350C
split-complementary
#0C4C15 #350C4C #4C0C23
monochromatic
#041A07 #041A07 #0C4C15 #148124 #1DB632

Accessibility & contrast

On white

10.19
#0C4C15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#0C4C15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4C15
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4C15#FFFFFF#000000##FFFFFF
##0C4C151.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440E
Deuteranopia (green-blind)
#463F1A
Tritanopia (blue-blind)
#004A41
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4c15;
/* rgb */ color: rgb(12, 76, 21);
/* oklch */ color: oklch(36.5% 0.106 144.9);
Tailwind
colors: {
  custom: {
    50: '#587f55',
    500: '#0c4c15',
    950: '#000000',
  },
}
SCSS
$custom: #0c4c15;
$custom-light: #587f55;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4c15",
  "rgb": {
    "r": 12,
    "g": 76,
    "b": 21
  },
  "hsl": {
    "h": 128.438,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36506,
    "c": 0.10601,
    "h": 144.9
  },
  "luminance": 0.05301
}

Semantic roles & 50–950 ramp

primary
#0C4C15
secondary
#882C7B
accent
#38D6EF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4C15

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

Preview Lab → · Contrast checker → · Palette generator →

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