#0C4207#0C4207

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

Color values

HEX#0C4207
RGBrgb(12, 66, 7)
HSLhsl(115, 81%, 14%)
HSVhsv(115, 89%, 26%)
CMYKcmyk(81.8%, 0%, 89.4%, 74.1%)
CIE-LABlab(23.64, -29.71, 28.48)
CIE-LCHlch(23.64, 41.15, 136.21°)
OKLaboklab(33.2% -0.0809 0.0635)
OKLCHoklch(33.2% 0.103 141.9)
XYZxyz(2.1381, 3.9897, 0.8584)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4207 #3D0742
analogous
#2A4207 #0C4207 #074220
triadic
#0C4207 #070C42 #42070C
tetradic
#0C4207 #072A42 #3D0742 #422007
square
#0C4207 #072A42 #3D0742 #422007
split-complementary
#0C4207 #200742 #42072A
monochromatic
#051C03 #051C03 #0C4207 #16790D #20B113

Accessibility & contrast

On white

11.68
#0C4207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4207
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4207#FFFFFF#000000##FFFFFF
##0C42071.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4207;
/* rgb */ color: rgb(12, 66, 7);
/* oklch */ color: oklch(33.2% 0.103 141.9);
Tailwind
colors: {
  custom: {
    50: '#56774c',
    500: '#0c4207',
    950: '#000000',
  },
}
SCSS
$custom: #0c4207;
$custom-light: #56774c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4207",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 7
  },
  "hsl": {
    "h": 114.915,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33198,
    "c": 0.10289,
    "h": 141.9
  },
  "luminance": 0.0399
}

Semantic roles & 50–950 ramp

primary
#0C4207
secondary
#792481
accent
#31F7E6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030901
muted
#787B77

Preview Lab

Preview with #0C4207

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

Preview Lab → · Contrast checker → · Palette generator →

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