#0C551F#0C551F

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

Color values

HEX#0C551F
RGBrgb(12, 85, 31)
HSLhsl(136, 75%, 19%)
HSVhsv(136, 86%, 33%)
CMYKcmyk(85.9%, 0%, 63.5%, 66.7%)
CIE-LABlab(31.05, -34.16, 25.11)
CIE-LCHlch(31.05, 42.40, 143.68°)
OKLaboklab(39.43% -0.0919 0.0595)
OKLCHoklch(39.43% 0.109 147.1)
XYZxyz(3.6472, 6.6736, 2.3920)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C551F #550C42
analogous
#1E550C #0C551F #0C5544
triadic
#0C551F #1F0C55 #551F0C
tetradic
#0C551F #0C1E55 #550C42 #55440C
square
#0C551F #0C1E55 #550C42 #55440C
split-complementary
#0C551F #440C55 #550C1E
monochromatic
#041B0A #041F0B #0C551F #148B33 #1BC046

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C551F#FFFFFF#000000##FFFFFF
##0C551F1.008.992.338.99
#FFFFFF8.991.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c551f;
/* rgb */ color: rgb(12, 85, 31);
/* oklch */ color: oklch(39.4% 0.109 147.1);
Tailwind
colors: {
  custom: {
    50: '#5a865c',
    500: '#0c551f',
    950: '#000000',
  },
}
SCSS
$custom: #0c551f;
$custom-light: #5a865c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c551f",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 31
  },
  "hsl": {
    "h": 135.616,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39428,
    "c": 0.10944,
    "h": 147.1
  },
  "luminance": 0.06674
}

Semantic roles & 50–950 ramp

primary
#0C551F
secondary
#902D76
accent
#36C1F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0C551F

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

Preview Lab → · Contrast checker → · Palette generator →

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