#0C551C#0C551C

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

Color values

HEX#0C551C
RGBrgb(12, 85, 28)
HSLhsl(133, 75%, 19%)
HSVhsv(133, 86%, 33%)
CMYKcmyk(85.9%, 0%, 67.1%, 66.7%)
CIE-LABlab(31.02, -34.59, 26.64)
CIE-LCHlch(31.02, 43.67, 142.40°)
OKLaboklab(39.39% -0.0931 0.0625)
OKLCHoklch(39.39% 0.112 146.1)
XYZxyz(3.6095, 6.6586, 2.1934)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C551C #550C45
analogous
#21550C #0C551C #0C5541
triadic
#0C551C #1C0C55 #551C0C
tetradic
#0C551C #0C2155 #550C45 #55410C
square
#0C551C #0C2155 #550C45 #55410C
split-complementary
#0C551C #410C55 #550C21
monochromatic
#041B09 #041F0A #0C551C #148B2E #1BC03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C551C#FFFFFF#000000##FFFFFF
##0C551C1.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)
#564C16
Deuteranopia (green-blind)
#4E4721
Tritanopia (blue-blind)
#005349
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c551c;
/* rgb */ color: rgb(12, 85, 28);
/* oklch */ color: oklch(39.4% 0.112 146.1);
Tailwind
colors: {
  custom: {
    50: '#5a865a',
    500: '#0c551c',
    950: '#000000',
  },
}
SCSS
$custom: #0c551c;
$custom-light: #5a865a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c551c",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 28
  },
  "hsl": {
    "h": 133.151,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39387,
    "c": 0.11216,
    "h": 146.1
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#0C551C
secondary
#902D7A
accent
#36C9F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0C551C

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

Preview Lab → · Contrast checker → · Palette generator →

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