#0C552A#0C552A

#0C552A is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.6% C 0.098 H 151.6°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#0C552A
RGBrgb(12, 85, 42)
HSLhsl(145, 75%, 19%)
HSVhsv(145, 86%, 33%)
CMYKcmyk(85.9%, 0%, 50.6%, 66.7%)
CIE-LABlab(31.21, -32.27, 19.11)
CIE-LCHlch(31.21, 37.50, 149.37°)
OKLaboklab(39.61% -0.0867 0.0468)
OKLCHoklch(39.61% 0.098 151.6)
XYZxyz(3.8177, 6.7419, 3.2901)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C552A #550C37
analogous
#12550C #0C552A #0C554F
triadic
#0C552A #2A0C55 #552A0C
tetradic
#0C552A #0C1255 #550C37 #554F0C
square
#0C552A #0C1255 #550C37 #554F0C
split-complementary
#0C552A #4F0C55 #550C12
monochromatic
#041B0D #041F10 #0C552A #148B45 #1BC05F

Accessibility & contrast

On white

8.94
#0C552A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C552A
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C552A#FFFFFF#000000##FFFFFF
##0C552A1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D27
Deuteranopia (green-blind)
#4D472D
Tritanopia (blue-blind)
#00544B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c552a;
/* rgb */ color: rgb(12, 85, 42);
/* oklch */ color: oklch(39.6% 0.098 151.6);
Tailwind
colors: {
  custom: {
    50: '#5a8664',
    500: '#0c552a',
    950: '#000000',
  },
}
SCSS
$custom: #0c552a;
$custom-light: #5a8664;
$custom-dark: #000000;
JSON
{
  "hex": "#0c552a",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 42
  },
  "hsl": {
    "h": 144.658,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39612,
    "c": 0.09849,
    "h": 151.6
  },
  "luminance": 0.06742
}

Semantic roles & 50–950 ramp

primary
#0C552A
secondary
#902D67
accent
#36A5F2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #0C552A

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

Preview Lab → · Contrast checker → · Palette generator →

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