#0C552B#0C552B

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

Color values

HEX#0C552B
RGBrgb(12, 85, 43)
HSLhsl(145, 75%, 19%)
HSVhsv(145, 86%, 33%)
CMYKcmyk(85.9%, 0%, 49.4%, 66.7%)
CIE-LABlab(31.23, -32.07, 18.54)
CIE-LCHlch(31.23, 37.04, 149.97°)
OKLaboklab(39.63% -0.0861 0.0456)
OKLCHoklch(39.63% 0.097 152.1)
XYZxyz(3.8358, 6.7491, 3.3856)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C552B #550C36
analogous
#12550C #0C552B #0C5550
triadic
#0C552B #2B0C55 #552B0C
tetradic
#0C552B #0C1255 #550C36 #55500C
square
#0C552B #0C1255 #550C36 #55500C
split-complementary
#0C552B #500C55 #550C12
monochromatic
#041B0E #041F10 #0C552B #148B46 #1BC061

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C552B#FFFFFF#000000##FFFFFF
##0C552B1.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)
#554D28
Deuteranopia (green-blind)
#4D472E
Tritanopia (blue-blind)
#00544B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c552b;
/* rgb */ color: rgb(12, 85, 43);
/* oklch */ color: oklch(39.6% 0.097 152.1);
Tailwind
colors: {
  custom: {
    50: '#5a8665',
    500: '#0c552b',
    950: '#000000',
  },
}
SCSS
$custom: #0c552b;
$custom-light: #5a8665;
$custom-dark: #000000;
JSON
{
  "hex": "#0c552b",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 43
  },
  "hsl": {
    "h": 145.479,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39632,
    "c": 0.09745,
    "h": 152.1
  },
  "luminance": 0.0675
}

Semantic roles & 50–950 ramp

primary
#0C552B
secondary
#902D66
accent
#36A2F2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #0C552B

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

Preview Lab → · Contrast checker → · Palette generator →

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