#0C5520#0C5520

#0C5520 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.4% C 0.108 H 147.4°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#0C5520
RGBrgb(12, 85, 32)
HSLhsl(136, 75%, 19%)
HSVhsv(136, 86%, 33%)
CMYKcmyk(85.9%, 0%, 62.4%, 66.7%)
CIE-LABlab(31.06, -34.01, 24.59)
CIE-LCHlch(31.06, 41.97, 144.14°)
OKLaboklab(39.44% -0.0914 0.0584)
OKLCHoklch(39.44% 0.109 147.4)
XYZxyz(3.6605, 6.6790, 2.4625)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5520 #550C41
analogous
#1D550C #0C5520 #0C5545
triadic
#0C5520 #200C55 #55200C
tetradic
#0C5520 #0C1D55 #550C41 #55450C
square
#0C5520 #0C1D55 #550C41 #55450C
split-complementary
#0C5520 #450C55 #550C1D
monochromatic
#041B0A #041F0C #0C5520 #148B34 #1BC048

Accessibility & contrast

On white

8.99
#0C5520 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#0C5520 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5520
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5520#FFFFFF#000000##FFFFFF
##0C55201.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D1B
Deuteranopia (green-blind)
#4E4724
Tritanopia (blue-blind)
#005349
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c5520;
/* rgb */ color: rgb(12, 85, 32);
/* oklch */ color: oklch(39.4% 0.108 147.4);
Tailwind
colors: {
  custom: {
    50: '#5a865d',
    500: '#0c5520',
    950: '#000000',
  },
}
SCSS
$custom: #0c5520;
$custom-light: #5a865d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5520",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 32
  },
  "hsl": {
    "h": 136.438,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39442,
    "c": 0.1085,
    "h": 147.4
  },
  "luminance": 0.06679
}

Semantic roles & 50–950 ramp

primary
#0C5520
secondary
#902D75
accent
#36BEF2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0C5520

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

Preview Lab → · Contrast checker → · Palette generator →

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