#0C5016#0C5016

#0C5016 is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.8% C 0.111 H 144.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#0C5016
RGBrgb(12, 80, 22)
HSLhsl(129, 74%, 18%)
HSVhsv(129, 85%, 31%)
CMYKcmyk(85%, 0%, 72.5%, 68.6%)
CIE-LABlab(29.09, -33.49, 27.50)
CIE-LCHlch(29.09, 43.34, 140.61°)
OKLaboklab(37.77% -0.0904 0.0636)
OKLCHoklch(37.77% 0.111 144.9)
XYZxyz(3.1649, 5.8730, 1.7257)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5016 #500C46
analogous
#24500C #0C5016 #0C5038
triadic
#0C5016 #160C50 #50160C
tetradic
#0C5016 #0C2450 #500C46 #50380C
square
#0C5016 #0C2450 #500C46 #50380C
split-complementary
#0C5016 #380C50 #500C24
monochromatic
#041B07 #041B07 #0C5016 #148525 #1CBA33

Accessibility & contrast

On white

9.66
#0C5016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#0C5016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5016
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5016#FFFFFF#000000##FFFFFF
##0C50161.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480E
Deuteranopia (green-blind)
#4A431B
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0c5016;
/* rgb */ color: rgb(12, 80, 22);
/* oklch */ color: oklch(37.8% 0.111 144.9);
Tailwind
colors: {
  custom: {
    50: '#598256',
    500: '#0c5016',
    950: '#000000',
  },
}
SCSS
$custom: #0c5016;
$custom-light: #598256;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5016",
  "rgb": {
    "r": 12,
    "g": 80,
    "b": 22
  },
  "hsl": {
    "h": 128.824,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37767,
    "c": 0.11056,
    "h": 144.9
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#0C5016
secondary
#8B2C7D
accent
#37D5F1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C5016

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

Preview Lab → · Contrast checker → · Palette generator →

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