#0C4E0B#0C4E0B

#0C4E0B is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.0% C 0.116 H 142.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#0C4E0B
RGBrgb(12, 78, 11)
HSLhsl(119, 75%, 17%)
HSVhsv(119, 86%, 31%)
CMYKcmyk(84.6%, 0%, 85.9%, 69.4%)
CIE-LABlab(28.25, -33.84, 31.38)
CIE-LCHlch(28.25, 46.15, 137.17°)
OKLaboklab(37.04% -0.0919 0.0702)
OKLCHoklch(37.04% 0.116 142.6)
XYZxyz(2.9362, 5.5508, 1.2332)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4E0B #4D0B4E
analogous
#2E4E0B #0C4E0B #0B4E2B
triadic
#0C4E0B #0B0C4E #4E0B0C
tetradic
#0C4E0B #0B2E4E #4D0B4E #4E2B0B
square
#0C4E0B #0B2E4E #4D0B4E #4E2B0B
split-complementary
#0C4E0B #2B0B4E #4E0B2E
monochromatic
#041B04 #041B04 #0C4E0B #148413 #1DB91A

Accessibility & contrast

On white

9.95
#0C4E0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#0C4E0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4E0B
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4E0B#FFFFFF#000000##FFFFFF
##0C4E0B1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504600
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#004B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4e0b;
/* rgb */ color: rgb(12, 78, 11);
/* oklch */ color: oklch(37.0% 0.116 142.6);
Tailwind
colors: {
  custom: {
    50: '#598050',
    500: '#0c4e0b',
    950: '#000000',
  },
}
SCSS
$custom: #0c4e0b;
$custom-light: #598050;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4e0b",
  "rgb": {
    "r": 12,
    "g": 78,
    "b": 11
  },
  "hsl": {
    "h": 119.104,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3704,
    "c": 0.11562,
    "h": 142.6
  },
  "luminance": 0.05551
}

Semantic roles & 50–950 ramp

primary
#0C4E0B
secondary
#892B8A
accent
#36F2EF
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0C4E0B

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

Preview Lab → · Contrast checker → · Palette generator →

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