#0C4916#0C4916

#0C4916 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.6% C 0.101 H 145.4°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#0C4916
RGBrgb(12, 73, 22)
HSLhsl(130, 72%, 17%)
HSVhsv(130, 84%, 29%)
CMYKcmyk(83.6%, 0%, 69.9%, 71.4%)
CIE-LABlab(26.45, -30.82, 24.58)
CIE-LCHlch(26.45, 39.42, 141.43°)
OKLaboklab(35.58% -0.0831 0.0574)
OKLCHoklch(35.58% 0.101 145.4)
XYZxyz(2.6788, 4.9009, 1.5637)
Luminance0.0490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4916 #490C3F
analogous
#21490C #0C4916 #0C4935
triadic
#0C4916 #160C49 #49160C
tetradic
#0C4916 #0C2149 #490C3F #49350C
square
#0C4916 #0C2149 #490C3F #49350C
split-complementary
#0C4916 #350C49 #490C21
monochromatic
#041A08 #041A08 #0C4916 #157E26 #1DB236

Accessibility & contrast

On white

10.60
#0C4916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#0C4916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4916
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4916#FFFFFF#000000##FFFFFF
##0C49161.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4110
Deuteranopia (green-blind)
#433D1A
Tritanopia (blue-blind)
#00473E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c4916;
/* rgb */ color: rgb(12, 73, 22);
/* oklch */ color: oklch(35.6% 0.101 145.4);
Tailwind
colors: {
  custom: {
    50: '#577c55',
    500: '#0c4916',
    950: '#000000',
  },
}
SCSS
$custom: #0c4916;
$custom-light: #577c55;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4916",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 22
  },
  "hsl": {
    "h": 129.836,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35576,
    "c": 0.10103,
    "h": 145.4
  },
  "luminance": 0.04901
}

Semantic roles & 50–950 ramp

primary
#0C4916
secondary
#852C76
accent
#39D1EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #0C4916

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

Preview Lab → · Contrast checker → · Palette generator →

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