#0C552D#0C552D

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

Color values

HEX#0C552D
RGBrgb(12, 85, 45)
HSLhsl(147, 75%, 19%)
HSVhsv(147, 86%, 33%)
CMYKcmyk(85.9%, 0%, 47.1%, 66.7%)
CIE-LABlab(31.26, -31.66, 17.40)
CIE-LCHlch(31.26, 36.13, 151.21°)
OKLaboklab(39.67% -0.0851 0.043)
OKLCHoklch(39.67% 0.095 153.2)
XYZxyz(3.8734, 6.7642, 3.5836)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C552D #550C34
analogous
#10550C #0C552D #0C5552
triadic
#0C552D #2D0C55 #552D0C
tetradic
#0C552D #0C1055 #550C34 #55520C
square
#0C552D #0C1055 #550C34 #55520C
split-complementary
#0C552D #520C55 #550C10
monochromatic
#041B0E #041F11 #0C552D #148B49 #1BC066

Accessibility & contrast

On white

8.92
#0C552D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C552D
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C552D#FFFFFF#000000##FFFFFF
##0C552D1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c552d;
/* rgb */ color: rgb(12, 85, 45);
/* oklch */ color: oklch(39.7% 0.095 153.2);
Tailwind
colors: {
  custom: {
    50: '#598666',
    500: '#0c552d',
    950: '#000000',
  },
}
SCSS
$custom: #0c552d;
$custom-light: #598666;
$custom-dark: #000000;
JSON
{
  "hex": "#0c552d",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 45
  },
  "hsl": {
    "h": 147.123,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39672,
    "c": 0.09536,
    "h": 153.2
  },
  "luminance": 0.06765
}

Semantic roles & 50–950 ramp

primary
#0C552D
secondary
#902D63
accent
#369DF2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0C552D

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

Preview Lab → · Contrast checker → · Palette generator →

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