#0C5718#0C5718

#0C5718 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.0% C 0.118 H 144.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#0C5718
RGBrgb(12, 87, 24)
HSLhsl(130, 76%, 19%)
HSVhsv(130, 86%, 34%)
CMYKcmyk(86.2%, 0%, 72.4%, 65.9%)
CIE-LABlab(31.72, -35.84, 29.40)
CIE-LCHlch(31.72, 46.36, 140.64°)
OKLaboklab(39.95% -0.0967 0.0679)
OKLCHoklch(39.95% 0.118 144.9)
XYZxyz(3.7244, 6.9600, 2.0111)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5718 #570C4B
analogous
#26570C #0C5718 #0C573E
triadic
#0C5718 #180C57 #57180C
tetradic
#0C5718 #0C2657 #570C4B #573E0C
square
#0C5718 #0C2657 #570C4B #573E0C
split-complementary
#0C5718 #3E0C57 #570C26
monochromatic
#041B07 #052109 #0C5718 #138D27 #1BC336

Accessibility & contrast

On white

8.78
#0C5718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#0C5718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5718
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5718#FFFFFF#000000##FFFFFF
##0C57181.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E10
Deuteranopia (green-blind)
#51481E
Tritanopia (blue-blind)
#00554A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0c5718;
/* rgb */ color: rgb(12, 87, 24);
/* oklch */ color: oklch(40.0% 0.118 144.9);
Tailwind
colors: {
  custom: {
    50: '#5b8758',
    500: '#0c5718',
    950: '#000000',
  },
}
SCSS
$custom: #0c5718;
$custom-light: #5b8758;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5718",
  "rgb": {
    "r": 12,
    "g": 87,
    "b": 24
  },
  "hsl": {
    "h": 129.6,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39954,
    "c": 0.11815,
    "h": 144.9
  },
  "luminance": 0.06961
}

Semantic roles & 50–950 ramp

primary
#0C5718
secondary
#922D82
accent
#35D4F2
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0C5718

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

Preview Lab → · Contrast checker → · Palette generator →

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