#0C5918#0C5918

#0C5918 is a dark, vivid green. Relative luminance 0.073; OKLCH L 40.6% C 0.121 H 144.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#0C5918
RGBrgb(12, 89, 24)
HSLhsl(129, 76%, 20%)
HSVhsv(129, 87%, 35%)
CMYKcmyk(86.5%, 0%, 73%, 65.1%)
CIE-LABlab(32.45, -36.57, 30.20)
CIE-LCHlch(32.45, 47.43, 140.45°)
OKLaboklab(40.57% -0.0987 0.0696)
OKLCHoklch(40.57% 0.121 144.8)
XYZxyz(3.8886, 7.2884, 2.0658)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5918 #590C4D
analogous
#26590C #0C5918 #0C593F
triadic
#0C5918 #180C59 #59180C
tetradic
#0C5918 #0C2659 #590C4D #593F0C
square
#0C5918 #0C2659 #590C4D #593F0C
split-complementary
#0C5918 #3F0C59 #590C26
monochromatic
#041B07 #052309 #0C5918 #138F27 #1BC535

Accessibility & contrast

On white

8.54
#0C5918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#0C5918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5918
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5918#FFFFFF#000000##FFFFFF
##0C59181.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500F
Deuteranopia (green-blind)
#524A1E
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0c5918;
/* rgb */ color: rgb(12, 89, 24);
/* oklch */ color: oklch(40.6% 0.121 144.8);
Tailwind
colors: {
  custom: {
    50: '#5c8958',
    500: '#0c5918',
    950: '#000000',
  },
}
SCSS
$custom: #0c5918;
$custom-light: #5c8958;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5918",
  "rgb": {
    "r": 12,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 129.351,
    "s": 76.238,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40569,
    "c": 0.12073,
    "h": 144.8
  },
  "luminance": 0.07289
}

Semantic roles & 50–950 ramp

primary
#0C5918
secondary
#942D84
accent
#35D5F3
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0C5918

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

Preview Lab → · Contrast checker → · Palette generator →

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