#0C4C16#0C4C16

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

Color values

HEX#0C4C16
RGBrgb(12, 76, 22)
HSLhsl(129, 73%, 17%)
HSVhsv(129, 84%, 30%)
CMYKcmyk(84.2%, 0%, 71.1%, 70.2%)
CIE-LABlab(27.59, -31.98, 25.85)
CIE-LCHlch(27.59, 41.12, 141.05°)
OKLaboklab(36.52% -0.0863 0.0601)
OKLCHoklch(36.52% 0.105 145.1)
XYZxyz(2.8807, 5.3046, 1.6310)
Luminance0.0530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4C16 #4C0C42
analogous
#224C0C #0C4C16 #0C4C36
triadic
#0C4C16 #160C4C #4C160C
tetradic
#0C4C16 #0C224C #4C0C42 #4C360C
square
#0C4C16 #0C224C #4C0C42 #4C360C
split-complementary
#0C4C16 #360C4C #4C0C22
monochromatic
#041A08 #041A08 #0C4C16 #148125 #1DB635

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C4C16#FFFFFF#000000##FFFFFF
##0C4C161.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)
#4D440F
Deuteranopia (green-blind)
#463F1B
Tritanopia (blue-blind)
#004A41
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4c16;
/* rgb */ color: rgb(12, 76, 22);
/* oklch */ color: oklch(36.5% 0.105 145.1);
Tailwind
colors: {
  custom: {
    50: '#587f56',
    500: '#0c4c16',
    950: '#000000',
  },
}
SCSS
$custom: #0c4c16;
$custom-light: #587f56;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4c16",
  "rgb": {
    "r": 12,
    "g": 76,
    "b": 22
  },
  "hsl": {
    "h": 129.375,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36518,
    "c": 0.10517,
    "h": 145.1
  },
  "luminance": 0.05305
}

Semantic roles & 50–950 ramp

primary
#0C4C16
secondary
#882C79
accent
#38D3EF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4C16

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

Preview Lab → · Contrast checker → · Palette generator →

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