#0C552E#0C552E

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

Color values

HEX#0C552E
RGBrgb(12, 85, 46)
HSLhsl(148, 75%, 19%)
HSVhsv(148, 86%, 33%)
CMYKcmyk(85.9%, 0%, 45.9%, 66.7%)
CIE-LABlab(31.28, -31.45, 16.82)
CIE-LCHlch(31.28, 35.67, 151.86°)
OKLaboklab(39.69% -0.0846 0.0417)
OKLCHoklch(39.69% 0.094 153.8)
XYZxyz(3.8929, 6.7719, 3.6862)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C552E #550C33
analogous
#0F550C #0C552E #0C5553
triadic
#0C552E #2E0C55 #552E0C
tetradic
#0C552E #0C0F55 #550C33 #55530C
square
#0C552E #0C0F55 #550C33 #55530C
split-complementary
#0C552E #530C55 #550C0F
monochromatic
#041B0F #041F11 #0C552E #148B4B #1BC068

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C552E#FFFFFF#000000##FFFFFF
##0C552E1.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)
#554D2B
Deuteranopia (green-blind)
#4D4731
Tritanopia (blue-blind)
#00544B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c552e;
/* rgb */ color: rgb(12, 85, 46);
/* oklch */ color: oklch(39.7% 0.094 153.8);
Tailwind
colors: {
  custom: {
    50: '#598667',
    500: '#0c552e',
    950: '#000000',
  },
}
SCSS
$custom: #0c552e;
$custom-light: #598667;
$custom-dark: #000000;
JSON
{
  "hex": "#0c552e",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 46
  },
  "hsl": {
    "h": 147.945,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39693,
    "c": 0.09431,
    "h": 153.8
  },
  "luminance": 0.06772
}

Semantic roles & 50–950 ramp

primary
#0C552E
secondary
#902D62
accent
#369AF2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0C552E

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

Preview Lab → · Contrast checker → · Palette generator →

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