#0C4622#0C4622

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

Color values

HEX#0C4622
RGBrgb(12, 70, 34)
HSLhsl(143, 71%, 16%)
HSVhsv(143, 83%, 27%)
CMYKcmyk(82.9%, 0%, 51.4%, 72.5%)
CIE-LABlab(25.48, -27.57, 16.58)
CIE-LCHlch(25.48, 32.18, 148.98°)
OKLaboklab(34.83% -0.0742 0.0407)
OKLCHoklch(34.83% 0.085 151.3)
XYZxyz(2.6303, 4.5737, 2.2572)
Luminance0.0457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4622 #460C30
analogous
#13460C #0C4622 #0C463F
triadic
#0C4622 #220C46 #46220C
tetradic
#0C4622 #0C1346 #460C30 #463F0C
square
#0C4622 #0C1346 #460C30 #463F0C
split-complementary
#0C4622 #3F0C46 #460C13
monochromatic
#041A0D #041A0D #0C4622 #157A3B #1EAE55

Accessibility & contrast

On white

10.97
#0C4622 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4622
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4622#FFFFFF#000000##FFFFFF
##0C46221.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F1F
Deuteranopia (green-blind)
#3F3A25
Tritanopia (blue-blind)
#00453D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c4622;
/* rgb */ color: rgb(12, 70, 34);
/* oklch */ color: oklch(34.8% 0.085 151.3);
Tailwind
colors: {
  custom: {
    50: '#557a5d',
    500: '#0c4622',
    950: '#000000',
  },
}
SCSS
$custom: #0c4622;
$custom-light: #557a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4622",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 34
  },
  "hsl": {
    "h": 142.759,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.3483,
    "c": 0.08458,
    "h": 151.3
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

primary
#0C4622
secondary
#822C61
accent
#3AAAED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C4622

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

Preview Lab → · Contrast checker → · Palette generator →

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