#0C4D16#0C4D16

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

Color values

HEX#0C4D16
RGBrgb(12, 77, 22)
HSLhsl(129, 73%, 17%)
HSVhsv(129, 84%, 30%)
CMYKcmyk(84.4%, 0%, 71.4%, 69.8%)
CIE-LABlab(27.96, -32.36, 26.26)
CIE-LCHlch(27.96, 41.68, 140.94°)
OKLaboklab(36.83% -0.0873 0.061)
OKLCHoklch(36.83% 0.107 145.1)
XYZxyz(2.9501, 5.4435, 1.6541)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D16 #4D0C43
analogous
#224D0C #0C4D16 #0C4D37
triadic
#0C4D16 #160C4D #4D160C
tetradic
#0C4D16 #0C224D #4D0C43 #4D370C
square
#0C4D16 #0C224D #4D0C43 #4D370C
split-complementary
#0C4D16 #370C4D #4D0C22
monochromatic
#041A08 #041A08 #0C4D16 #148225 #1DB734

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C4D16#FFFFFF#000000##FFFFFF
##0C4D161.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)
#4E450F
Deuteranopia (green-blind)
#47401B
Tritanopia (blue-blind)
#004B42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4d16;
/* rgb */ color: rgb(12, 77, 22);
/* oklch */ color: oklch(36.8% 0.107 145.1);
Tailwind
colors: {
  custom: {
    50: '#588056',
    500: '#0c4d16',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d16;
$custom-light: #588056;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d16",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 22
  },
  "hsl": {
    "h": 129.231,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36831,
    "c": 0.10652,
    "h": 145.1
  },
  "luminance": 0.05444
}

Semantic roles & 50–950 ramp

primary
#0C4D16
secondary
#892C7A
accent
#38D3F0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4D16

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

Preview Lab → · Contrast checker → · Palette generator →

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