#0C551B#0C551B

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

Color values

HEX#0C551B
RGBrgb(12, 85, 27)
HSLhsl(132, 75%, 19%)
HSVhsv(132, 86%, 33%)
CMYKcmyk(85.9%, 0%, 68.2%, 66.7%)
CIE-LABlab(31.01, -34.73, 27.14)
CIE-LCHlch(31.01, 44.08, 141.99°)
OKLaboklab(39.37% -0.0935 0.0635)
OKLCHoklch(39.37% 0.113 145.9)
XYZxyz(3.5977, 6.6539, 2.1314)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C551B #550C46
analogous
#22550C #0C551B #0C5540
triadic
#0C551B #1B0C55 #551B0C
tetradic
#0C551B #0C2255 #550C46 #55400C
square
#0C551B #0C2255 #550C46 #55400C
split-complementary
#0C551B #400C55 #550C22
monochromatic
#041B09 #041F0A #0C551B #148B2C #1BC03D

Accessibility & contrast

On white

9.01
#0C551B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C551B
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C551B#FFFFFF#000000##FFFFFF
##0C551B1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c551b;
/* rgb */ color: rgb(12, 85, 27);
/* oklch */ color: oklch(39.4% 0.113 145.9);
Tailwind
colors: {
  custom: {
    50: '#5a865a',
    500: '#0c551b',
    950: '#000000',
  },
}
SCSS
$custom: #0c551b;
$custom-light: #5a865a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c551b",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 27
  },
  "hsl": {
    "h": 132.329,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39374,
    "c": 0.11304,
    "h": 145.9
  },
  "luminance": 0.06654
}

Semantic roles & 50–950 ramp

primary
#0C551B
secondary
#902D7C
accent
#36CBF2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0C551B

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

Preview Lab → · Contrast checker → · Palette generator →

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