#0C5619#0C5619

#0C5619 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.7% C 0.116 H 145.2°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#0C5619
RGBrgb(12, 86, 25)
HSLhsl(131, 76%, 19%)
HSVhsv(131, 86%, 34%)
CMYKcmyk(86%, 0%, 70.9%, 66.3%)
CIE-LABlab(31.36, -35.36, 28.53)
CIE-LCHlch(31.36, 45.43, 141.10°)
OKLaboklab(39.66% -0.0953 0.0662)
OKLCHoklch(39.66% 0.116 145.2)
XYZxyz(3.6546, 6.8035, 2.0401)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5619 #560C49
analogous
#24560C #0C5619 #0C563E
triadic
#0C5619 #190C56 #56190C
tetradic
#0C5619 #0C2456 #560C49 #563E0C
square
#0C5619 #0C2456 #560C49 #563E0C
split-complementary
#0C5619 #3E0C56 #560C24
monochromatic
#041B08 #052009 #0C5619 #138C29 #1BC138

Accessibility & contrast

On white

8.90
#0C5619 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5619
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5619#FFFFFF#000000##FFFFFF
##0C56191.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D11
Deuteranopia (green-blind)
#50481F
Tritanopia (blue-blind)
#005449
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c5619;
/* rgb */ color: rgb(12, 86, 25);
/* oklch */ color: oklch(39.7% 0.116 145.2);
Tailwind
colors: {
  custom: {
    50: '#5b8659',
    500: '#0c5619',
    950: '#000000',
  },
}
SCSS
$custom: #0c5619;
$custom-light: #5b8659;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5619",
  "rgb": {
    "r": 12,
    "g": 86,
    "b": 25
  },
  "hsl": {
    "h": 130.541,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39658,
    "c": 0.11604,
    "h": 145.2
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#0C5619
secondary
#912D7F
accent
#36D1F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0C5619

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

Preview Lab → · Contrast checker → · Palette generator →

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