#0C4620#0C4620

#0C4620 is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.8% C 0.087 H 150.1°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#0C4620
RGBrgb(12, 70, 32)
HSLhsl(141, 71%, 16%)
HSVhsv(141, 83%, 27%)
CMYKcmyk(82.9%, 0%, 54.3%, 72.5%)
CIE-LABlab(25.45, -27.97, 17.75)
CIE-LCHlch(25.45, 33.12, 147.60°)
OKLaboklab(34.79% -0.0752 0.0432)
OKLCHoklch(34.79% 0.087 150.1)
XYZxyz(2.6023, 4.5625, 2.1097)
Luminance0.0456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4620 #460C32
analogous
#15460C #0C4620 #0C463D
triadic
#0C4620 #200C46 #46200C
tetradic
#0C4620 #0C1546 #460C32 #463D0C
square
#0C4620 #0C1546 #460C32 #463D0C
split-complementary
#0C4620 #3D0C46 #460C15
monochromatic
#041A0C #041A0C #0C4620 #157A38 #1EAE50

Accessibility & contrast

On white

10.98
#0C4620 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#0C4620 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4620
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4620#FFFFFF#000000##FFFFFF
##0C46201.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F1D
Deuteranopia (green-blind)
#403A23
Tritanopia (blue-blind)
#00453D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c4620;
/* rgb */ color: rgb(12, 70, 32);
/* oklch */ color: oklch(34.8% 0.087 150.1);
Tailwind
colors: {
  custom: {
    50: '#557a5c',
    500: '#0c4620',
    950: '#000000',
  },
}
SCSS
$custom: #0c4620;
$custom-light: #557a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4620",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 32
  },
  "hsl": {
    "h": 140.69,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34791,
    "c": 0.08675,
    "h": 150.1
  },
  "luminance": 0.04563
}

Semantic roles & 50–950 ramp

primary
#0C4620
secondary
#822C64
accent
#3AB0ED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C4620

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

Preview Lab → · Contrast checker → · Palette generator →

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