#0C5014#0C5014

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

Color values

HEX#0C5014
RGBrgb(12, 80, 20)
HSLhsl(127, 74%, 18%)
HSVhsv(127, 85%, 31%)
CMYKcmyk(85%, 0%, 75%, 68.6%)
CIE-LABlab(29.07, -33.73, 28.44)
CIE-LCHlch(29.07, 44.12, 139.87°)
OKLaboklab(37.74% -0.0911 0.0653)
OKLCHoklch(37.74% 0.112 144.4)
XYZxyz(3.1463, 5.8656, 1.6280)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5014 #500C48
analogous
#26500C #0C5014 #0C5036
triadic
#0C5014 #140C50 #50140C
tetradic
#0C5014 #0C2650 #500C48 #50360C
square
#0C5014 #0C2650 #500C48 #50360C
split-complementary
#0C5014 #360C50 #500C26
monochromatic
#041B07 #041B07 #0C5014 #148521 #1CBA2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C5014#FFFFFF#000000##FFFFFF
##0C50141.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)
#52480B
Deuteranopia (green-blind)
#4A431A
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0c5014;
/* rgb */ color: rgb(12, 80, 20);
/* oklch */ color: oklch(37.7% 0.112 144.4);
Tailwind
colors: {
  custom: {
    50: '#598255',
    500: '#0c5014',
    950: '#000000',
  },
}
SCSS
$custom: #0c5014;
$custom-light: #598255;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5014",
  "rgb": {
    "r": 12,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 127.059,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37745,
    "c": 0.11214,
    "h": 144.4
  },
  "luminance": 0.05866
}

Semantic roles & 50–950 ramp

primary
#0C5014
secondary
#8B2C80
accent
#37DBF1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C5014

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

Preview Lab → · Contrast checker → · Palette generator →

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