#0C4D0E#0C4D0E

#0C4D0E is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.7% C 0.113 H 143.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#0C4D0E
RGBrgb(12, 77, 14)
HSLhsl(122, 73%, 17%)
HSVhsv(122, 84%, 30%)
CMYKcmyk(84.4%, 0%, 81.8%, 69.8%)
CIE-LABlab(27.89, -33.23, 29.86)
CIE-LCHlch(27.89, 44.67, 138.06°)
OKLaboklab(36.75% -0.0901 0.0675)
OKLCHoklch(36.75% 0.113 143.2)
XYZxyz(2.8846, 5.4173, 1.3090)
Luminance0.0542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D0E #4D0C4B
analogous
#2B4D0C #0C4D0E #0C4D2E
triadic
#0C4D0E #0E0C4D #4D0E0C
tetradic
#0C4D0E #0C2B4D #4D0C4B #4D2E0C
square
#0C4D0E #0C2B4D #4D0C4B #4D2E0C
split-complementary
#0C4D0E #2E0C4D #4D0C2B
monochromatic
#041A05 #041A05 #0C4D0E #148218 #1DB721

Accessibility & contrast

On white

10.08
#0C4D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#0C4D0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D0E
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D0E#FFFFFF#000000##FFFFFF
##0C4D0E1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4503
Deuteranopia (green-blind)
#484015
Tritanopia (blue-blind)
#004B41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4d0e;
/* rgb */ color: rgb(12, 77, 14);
/* oklch */ color: oklch(36.7% 0.113 143.2);
Tailwind
colors: {
  custom: {
    50: '#598051',
    500: '#0c4d0e',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d0e;
$custom-light: #598051;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d0e",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 14
  },
  "hsl": {
    "h": 121.846,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36749,
    "c": 0.11254,
    "h": 143.2
  },
  "luminance": 0.05418
}

Semantic roles & 50–950 ramp

primary
#0C4D0E
secondary
#892C86
accent
#38EAF0
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0C4D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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