#0C5621#0C5621

#0C5621 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.8% C 0.109 H 147.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#0C5621
RGBrgb(12, 86, 33)
HSLhsl(137, 76%, 19%)
HSVhsv(137, 86%, 34%)
CMYKcmyk(86%, 0%, 61.6%, 66.3%)
CIE-LABlab(31.45, -34.24, 24.50)
CIE-LCHlch(31.45, 42.10, 144.42°)
OKLaboklab(39.76% -0.092 0.0583)
OKLCHoklch(39.76% 0.109 147.6)
XYZxyz(3.7536, 6.8431, 2.5616)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5621 #560C41
analogous
#1C560C #0C5621 #0C5646
triadic
#0C5621 #210C56 #56210C
tetradic
#0C5621 #0C1C56 #560C41 #56460C
square
#0C5621 #0C1C56 #560C41 #56460C
split-complementary
#0C5621 #460C56 #560C1C
monochromatic
#041B0A #05200C #0C5621 #138C36 #1BC14A

Accessibility & contrast

On white

8.87
#0C5621 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#0C5621 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5621
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5621#FFFFFF#000000##FFFFFF
##0C56211.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D1C
Deuteranopia (green-blind)
#4F4825
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c5621;
/* rgb */ color: rgb(12, 86, 33);
/* oklch */ color: oklch(39.8% 0.109 147.6);
Tailwind
colors: {
  custom: {
    50: '#5a865e',
    500: '#0c5621',
    950: '#000000',
  },
}
SCSS
$custom: #0c5621;
$custom-light: #5a865e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5621",
  "rgb": {
    "r": 12,
    "g": 86,
    "b": 33
  },
  "hsl": {
    "h": 137.027,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39764,
    "c": 0.10894,
    "h": 147.6
  },
  "luminance": 0.06844
}

Semantic roles & 50–950 ramp

primary
#0C5621
secondary
#912D75
accent
#36BDF2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0C5621

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

Preview Lab → · Contrast checker → · Palette generator →

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