#0C5517#0C5517

#0C5517 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.3% C 0.116 H 144.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#0C5517
RGBrgb(12, 85, 23)
HSLhsl(129, 75%, 19%)
HSVhsv(129, 86%, 33%)
CMYKcmyk(85.9%, 0%, 72.9%, 66.7%)
CIE-LABlab(30.96, -35.23, 29.06)
CIE-LCHlch(30.96, 45.67, 140.48°)
OKLaboklab(39.33% -0.0951 0.067)
OKLCHoklch(39.33% 0.116 144.8)
XYZxyz(3.5545, 6.6366, 1.9041)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5517 #550C4A
analogous
#26550C #0C5517 #0C553C
triadic
#0C5517 #170C55 #55170C
tetradic
#0C5517 #0C2655 #550C4A #553C0C
square
#0C5517 #0C2655 #550C4A #553C0C
split-complementary
#0C5517 #3C0C55 #550C26
monochromatic
#041B07 #041F08 #0C5517 #148B26 #1BC034

Accessibility & contrast

On white

9.02
#0C5517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#0C5517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5517
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5517#FFFFFF#000000##FFFFFF
##0C55171.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0F
Deuteranopia (green-blind)
#4F471D
Tritanopia (blue-blind)
#005348
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c5517;
/* rgb */ color: rgb(12, 85, 23);
/* oklch */ color: oklch(39.3% 0.116 144.8);
Tailwind
colors: {
  custom: {
    50: '#5a8657',
    500: '#0c5517',
    950: '#000000',
  },
}
SCSS
$custom: #0c5517;
$custom-light: #5a8657;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5517",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 23
  },
  "hsl": {
    "h": 129.041,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39327,
    "c": 0.11634,
    "h": 144.8
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#0C5517
secondary
#902D81
accent
#36D6F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0C5517

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

Preview Lab → · Contrast checker → · Palette generator →

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