#0C4D19#0C4D19

#0C4D19 is a dark, moderate green. Relative luminance 0.055; OKLCH L 36.9% C 0.104 H 146.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#0C4D19
RGBrgb(12, 77, 25)
HSLhsl(132, 73%, 17%)
HSVhsv(132, 84%, 30%)
CMYKcmyk(84.4%, 0%, 67.5%, 69.8%)
CIE-LABlab(28.00, -31.96, 24.76)
CIE-LCHlch(28.00, 40.43, 142.24°)
OKLaboklab(36.87% -0.0861 0.0581)
OKLCHoklch(36.87% 0.104 146)
XYZxyz(2.9807, 5.4558, 1.8155)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D19 #4D0C40
analogous
#1F4D0C #0C4D19 #0C4D3A
triadic
#0C4D19 #190C4D #4D190C
tetradic
#0C4D19 #0C1F4D #4D0C40 #4D3A0C
square
#0C4D19 #0C1F4D #4D0C40 #4D3A0C
split-complementary
#0C4D19 #3A0C4D #4D0C1F
monochromatic
#041A09 #041A09 #0C4D19 #14822A #1DB73B

Accessibility & contrast

On white

10.04
#0C4D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#0C4D19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D19
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D19#FFFFFF#000000##FFFFFF
##0C4D191.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4513
Deuteranopia (green-blind)
#47401D
Tritanopia (blue-blind)
#004B42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4d19;
/* rgb */ color: rgb(12, 77, 25);
/* oklch */ color: oklch(36.9% 0.104 146.0);
Tailwind
colors: {
  custom: {
    50: '#588058',
    500: '#0c4d19',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d19;
$custom-light: #588058;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d19",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 25
  },
  "hsl": {
    "h": 132,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36869,
    "c": 0.10389,
    "h": 146
  },
  "luminance": 0.05456
}

Semantic roles & 50–950 ramp

primary
#0C4D19
secondary
#892C76
accent
#38CBF0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4D19

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

Preview Lab → · Contrast checker → · Palette generator →

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