#0C4D15#0C4D15

#0C4D15 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.107 H 144.8°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#0C4D15
RGBrgb(12, 77, 21)
HSLhsl(128, 73%, 17%)
HSVhsv(128, 84%, 30%)
CMYKcmyk(84.4%, 0%, 72.7%, 69.8%)
CIE-LABlab(27.95, -32.48, 26.75)
CIE-LCHlch(27.95, 42.08, 140.53°)
OKLaboklab(36.82% -0.0877 0.0619)
OKLCHoklch(36.82% 0.107 144.8)
XYZxyz(2.9407, 5.4397, 1.6043)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D15 #4D0C44
analogous
#234D0C #0C4D15 #0C4D36
triadic
#0C4D15 #150C4D #4D150C
tetradic
#0C4D15 #0C234D #4D0C44 #4D360C
square
#0C4D15 #0C234D #4D0C44 #4D360C
split-complementary
#0C4D15 #360C4D #4D0C23
monochromatic
#041A07 #041A07 #0C4D15 #148223 #1DB732

Accessibility & contrast

On white

10.06
#0C4D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4D15
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D15#FFFFFF#000000##FFFFFF
##0C4D151.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450E
Deuteranopia (green-blind)
#47401A
Tritanopia (blue-blind)
#004B41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4d15;
/* rgb */ color: rgb(12, 77, 21);
/* oklch */ color: oklch(36.8% 0.107 144.8);
Tailwind
colors: {
  custom: {
    50: '#588055',
    500: '#0c4d15',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d15;
$custom-light: #588055;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d15",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 21
  },
  "hsl": {
    "h": 128.308,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36819,
    "c": 0.10736,
    "h": 144.8
  },
  "luminance": 0.0544
}

Semantic roles & 50–950 ramp

primary
#0C4D15
secondary
#892C7C
accent
#38D6F0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4D15

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

Preview Lab → · Contrast checker → · Palette generator →

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