#0C4D18#0C4D18

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

Color values

HEX#0C4D18
RGBrgb(12, 77, 24)
HSLhsl(131, 73%, 17%)
HSVhsv(131, 84%, 30%)
CMYKcmyk(84.4%, 0%, 68.8%, 69.8%)
CIE-LABlab(27.98, -32.10, 25.27)
CIE-LCHlch(27.98, 40.85, 141.79°)
OKLaboklab(36.85% -0.0865 0.0591)
OKLCHoklch(36.85% 0.105 145.7)
XYZxyz(2.9702, 5.4515, 1.7597)
Luminance0.0545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D18 #4D0C41
analogous
#204D0C #0C4D18 #0C4D39
triadic
#0C4D18 #180C4D #4D180C
tetradic
#0C4D18 #0C204D #4D0C41 #4D390C
square
#0C4D18 #0C204D #4D0C41 #4D390C
split-complementary
#0C4D18 #390C4D #4D0C20
monochromatic
#041A08 #041A08 #0C4D18 #148229 #1DB739

Accessibility & contrast

On white

10.05
#0C4D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4D18
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D18#FFFFFF#000000##FFFFFF
##0C4D181.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4d18;
/* rgb */ color: rgb(12, 77, 24);
/* oklch */ color: oklch(36.9% 0.105 145.7);
Tailwind
colors: {
  custom: {
    50: '#588057',
    500: '#0c4d18',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d18;
$custom-light: #588057;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d18",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 24
  },
  "hsl": {
    "h": 131.077,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36855,
    "c": 0.1048,
    "h": 145.7
  },
  "luminance": 0.05452
}

Semantic roles & 50–950 ramp

primary
#0C4D18
secondary
#892C78
accent
#38CEF0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4D18

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

Preview Lab → · Contrast checker → · Palette generator →

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