#0C5614#0C5614

#0C5614 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.6% C 0.120 H 144.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#0C5614
RGBrgb(12, 86, 20)
HSLhsl(126, 76%, 19%)
HSVhsv(126, 86%, 34%)
CMYKcmyk(86%, 0%, 76.7%, 66.3%)
CIE-LABlab(31.31, -35.92, 30.80)
CIE-LCHlch(31.31, 47.32, 139.39°)
OKLaboklab(39.61% -0.0971 0.0703)
OKLCHoklch(39.61% 0.12 144.1)
XYZxyz(3.6054, 6.7838, 1.7811)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5614 #560C4E
analogous
#29560C #0C5614 #0C5639
triadic
#0C5614 #140C56 #56140C
tetradic
#0C5614 #0C2956 #560C4E #56390C
square
#0C5614 #0C2956 #560C4E #56390C
split-complementary
#0C5614 #390C56 #560C29
monochromatic
#041B06 #052008 #0C5614 #138C20 #1BC12D

Accessibility & contrast

On white

8.91
#0C5614 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#0C5614 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5614
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5614#FFFFFF#000000##FFFFFF
##0C56141.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D09
Deuteranopia (green-blind)
#50481B
Tritanopia (blue-blind)
#005349
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c5614;
/* rgb */ color: rgb(12, 86, 20);
/* oklch */ color: oklch(39.6% 0.120 144.1);
Tailwind
colors: {
  custom: {
    50: '#5b8656',
    500: '#0c5614',
    950: '#000000',
  },
}
SCSS
$custom: #0c5614;
$custom-light: #5b8656;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5614",
  "rgb": {
    "r": 12,
    "g": 86,
    "b": 20
  },
  "hsl": {
    "h": 126.486,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39605,
    "c": 0.11987,
    "h": 144.1
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#0C5614
secondary
#912D86
accent
#36DEF2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0C5614

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

Preview Lab → · Contrast checker → · Palette generator →

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