#0C551A#0C551A

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

Color values

HEX#0C551A
RGBrgb(12, 85, 26)
HSLhsl(132, 75%, 19%)
HSVhsv(132, 86%, 33%)
CMYKcmyk(85.9%, 0%, 69.4%, 66.7%)
CIE-LABlab(30.99, -34.86, 27.63)
CIE-LCHlch(30.99, 44.49, 141.60°)
OKLaboklab(39.36% -0.0939 0.0644)
OKLCHoklch(39.36% 0.114 145.6)
XYZxyz(3.5863, 6.6493, 2.0715)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C551A #550C47
analogous
#23550C #0C551A #0C553F
triadic
#0C551A #1A0C55 #551A0C
tetradic
#0C551A #0C2355 #550C47 #553F0C
square
#0C551A #0C2355 #550C47 #553F0C
split-complementary
#0C551A #3F0C55 #550C23
monochromatic
#041B08 #041F0A #0C551A #148B2A #1BC03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C551A#FFFFFF#000000##FFFFFF
##0C551A1.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)
#564C13
Deuteranopia (green-blind)
#4E471F
Tritanopia (blue-blind)
#005349
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c551a;
/* rgb */ color: rgb(12, 85, 26);
/* oklch */ color: oklch(39.4% 0.114 145.6);
Tailwind
colors: {
  custom: {
    50: '#5a8659',
    500: '#0c551a',
    950: '#000000',
  },
}
SCSS
$custom: #0c551a;
$custom-light: #5a8659;
$custom-dark: #000000;
JSON
{
  "hex": "#0c551a",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 26
  },
  "hsl": {
    "h": 131.507,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39362,
    "c": 0.11388,
    "h": 145.6
  },
  "luminance": 0.0665
}

Semantic roles & 50–950 ramp

primary
#0C551A
secondary
#902D7D
accent
#36CEF2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0C551A

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

Preview Lab → · Contrast checker → · Palette generator →

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