#0C4C10#0C4C10

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

Color values

HEX#0C4C10
RGBrgb(12, 76, 16)
HSLhsl(124, 73%, 17%)
HSVhsv(124, 84%, 30%)
CMYKcmyk(84.2%, 0%, 78.9%, 70.2%)
CIE-LABlab(27.53, -32.67, 28.64)
CIE-LCHlch(27.53, 43.44, 138.76°)
OKLaboklab(36.45% -0.0885 0.0652)
OKLCHoklch(36.45% 0.11 143.6)
XYZxyz(2.8294, 5.2841, 1.3609)
Luminance0.0528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4C10 #4C0C48
analogous
#284C0C #0C4C10 #0C4C30
triadic
#0C4C10 #100C4C #4C100C
tetradic
#0C4C10 #0C284C #4C0C48 #4C300C
square
#0C4C10 #0C284C #4C0C48 #4C300C
split-complementary
#0C4C10 #300C4C #4C0C28
monochromatic
#041A06 #041A06 #0C4C10 #14811B #1DB626

Accessibility & contrast

On white

10.21
#0C4C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4C10
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4C10#FFFFFF#000000##FFFFFF
##0C4C101.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4406
Deuteranopia (green-blind)
#473F16
Tritanopia (blue-blind)
#004A40
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4c10;
/* rgb */ color: rgb(12, 76, 16);
/* oklch */ color: oklch(36.5% 0.110 143.6);
Tailwind
colors: {
  custom: {
    50: '#587f52',
    500: '#0c4c10',
    950: '#000000',
  },
}
SCSS
$custom: #0c4c10;
$custom-light: #587f52;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4c10",
  "rgb": {
    "r": 12,
    "g": 76,
    "b": 16
  },
  "hsl": {
    "h": 123.75,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36453,
    "c": 0.10989,
    "h": 143.6
  },
  "luminance": 0.05284
}

Semantic roles & 50–950 ramp

primary
#0C4C10
secondary
#882C82
accent
#38E4EF
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0C4C10

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

Preview Lab → · Contrast checker → · Palette generator →

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