#0C4618#0C4618

#0C4618 is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.7% C 0.095 H 146.4°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#0C4618
RGBrgb(12, 70, 24)
HSLhsl(132, 71%, 16%)
HSVhsv(132, 83%, 27%)
CMYKcmyk(82.9%, 0%, 65.7%, 72.5%)
CIE-LABlab(25.33, -29.34, 22.23)
CIE-LCHlch(25.33, 36.80, 142.85°)
OKLaboklab(34.66% -0.079 0.0526)
OKLCHoklch(34.66% 0.095 146.4)
XYZxyz(2.5065, 4.5241, 1.6051)
Luminance0.0452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4618 #460C3A
analogous
#1D460C #0C4618 #0C4635
triadic
#0C4618 #180C46 #46180C
tetradic
#0C4618 #0C1D46 #460C3A #46350C
square
#0C4618 #0C1D46 #460C3A #46350C
split-complementary
#0C4618 #350C46 #460C1D
monochromatic
#041A09 #041A09 #0C4618 #157A2A #1EAE3C

Accessibility & contrast

On white

11.02
#0C4618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#0C4618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4618
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4618#FFFFFF#000000##FFFFFF
##0C46181.0011.021.9011.02
#FFFFFF11.021.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F13
Deuteranopia (green-blind)
#403A1C
Tritanopia (blue-blind)
#00443C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c4618;
/* rgb */ color: rgb(12, 70, 24);
/* oklch */ color: oklch(34.7% 0.095 146.4);
Tailwind
colors: {
  custom: {
    50: '#567a56',
    500: '#0c4618',
    950: '#000000',
  },
}
SCSS
$custom: #0c4618;
$custom-light: #567a56;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4618",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 24
  },
  "hsl": {
    "h": 132.414,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34657,
    "c": 0.09493,
    "h": 146.4
  },
  "luminance": 0.04524
}

Semantic roles & 50–950 ramp

primary
#0C4618
secondary
#822C70
accent
#3AC8ED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C4618

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

Preview Lab → · Contrast checker → · Palette generator →

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