#0C4209#0C4209

#0C4209 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.2% C 0.102 H 142.3°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#0C4209
RGBrgb(12, 66, 9)
HSLhsl(117, 76%, 15%)
HSVhsv(117, 86%, 26%)
CMYKcmyk(81.8%, 0%, 86.4%, 74.1%)
CIE-LABlab(23.65, -29.53, 27.68)
CIE-LCHlch(23.65, 40.47, 136.86°)
OKLaboklab(33.22% -0.0803 0.0621)
OKLCHoklch(33.22% 0.102 142.3)
XYZxyz(2.1490, 3.9941, 0.9161)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4209 #3F0942
analogous
#294209 #0C4209 #094223
triadic
#0C4209 #090C42 #42090C
tetradic
#0C4209 #092942 #3F0942 #422309
square
#0C4209 #092942 #3F0942 #422309
split-complementary
#0C4209 #230942 #420929
monochromatic
#051B04 #051B04 #0C4209 #167810 #20AE18

Accessibility & contrast

On white

11.67
#0C4209 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#0C4209 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4209
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4209#FFFFFF#000000##FFFFFF
##0C42091.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B01
Deuteranopia (green-blind)
#3E370F
Tritanopia (blue-blind)
#004037
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c4209;
/* rgb */ color: rgb(12, 66, 9);
/* oklch */ color: oklch(33.2% 0.102 142.3);
Tailwind
colors: {
  custom: {
    50: '#56774d',
    500: '#0c4209',
    950: '#000000',
  },
}
SCSS
$custom: #0c4209;
$custom-light: #56774d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4209",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 9
  },
  "hsl": {
    "h": 116.842,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33215,
    "c": 0.10155,
    "h": 142.3
  },
  "luminance": 0.03994
}

Semantic roles & 50–950 ramp

primary
#0C4209
secondary
#7B2780
accent
#35F3E9
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030901
muted
#787B77

Preview Lab

Preview with #0C4209

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

Preview Lab → · Contrast checker → · Palette generator →

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