#0C552C#0C552C

#0C552C is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.7% C 0.096 H 152.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#0C552C
RGBrgb(12, 85, 44)
HSLhsl(146, 75%, 19%)
HSVhsv(146, 86%, 33%)
CMYKcmyk(85.9%, 0%, 48.2%, 66.7%)
CIE-LABlab(31.25, -31.87, 17.97)
CIE-LCHlch(31.25, 36.58, 150.58°)
OKLaboklab(39.65% -0.0856 0.0443)
OKLCHoklch(39.65% 0.096 152.7)
XYZxyz(3.8544, 6.7565, 3.4834)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C552C #550C35
analogous
#11550C #0C552C #0C5551
triadic
#0C552C #2C0C55 #552C0C
tetradic
#0C552C #0C1155 #550C35 #55510C
square
#0C552C #0C1155 #550C35 #55510C
split-complementary
#0C552C #510C55 #550C11
monochromatic
#041B0E #041F10 #0C552C #148B48 #1BC064

Accessibility & contrast

On white

8.93
#0C552C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#0C552C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C552C
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C552C#FFFFFF#000000##FFFFFF
##0C552C1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D29
Deuteranopia (green-blind)
#4D472F
Tritanopia (blue-blind)
#00544B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c552c;
/* rgb */ color: rgb(12, 85, 44);
/* oklch */ color: oklch(39.7% 0.096 152.7);
Tailwind
colors: {
  custom: {
    50: '#5a8665',
    500: '#0c552c',
    950: '#000000',
  },
}
SCSS
$custom: #0c552c;
$custom-light: #5a8665;
$custom-dark: #000000;
JSON
{
  "hex": "#0c552c",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 44
  },
  "hsl": {
    "h": 146.301,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39652,
    "c": 0.09641,
    "h": 152.7
  },
  "luminance": 0.06757
}

Semantic roles & 50–950 ramp

primary
#0C552C
secondary
#902D65
accent
#369FF2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0C552C

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

Preview Lab → · Contrast checker → · Palette generator →

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