#0C552F#0C552F

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

Color values

HEX#0C552F
RGBrgb(12, 85, 47)
HSLhsl(149, 75%, 19%)
HSVhsv(149, 86%, 33%)
CMYKcmyk(85.9%, 0%, 44.7%, 66.7%)
CIE-LABlab(31.30, -31.24, 16.24)
CIE-LCHlch(31.30, 35.21, 152.52°)
OKLaboklab(39.72% -0.0841 0.0403)
OKLCHoklch(39.72% 0.093 154.4)
XYZxyz(3.9128, 6.7799, 3.7912)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C552F #550C32
analogous
#0E550C #0C552F #0C5554
triadic
#0C552F #2F0C55 #552F0C
tetradic
#0C552F #0C0E55 #550C32 #55540C
square
#0C552F #0C0E55 #550C32 #55540C
split-complementary
#0C552F #540C55 #550C0E
monochromatic
#041B0F #041F11 #0C552F #148B4D #1BC06A

Accessibility & contrast

On white

8.91
#0C552F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#0C552F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C552F
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C552F#FFFFFF#000000##FFFFFF
##0C552F1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2C
Deuteranopia (green-blind)
#4C4732
Tritanopia (blue-blind)
#00544C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c552f;
/* rgb */ color: rgb(12, 85, 47);
/* oklch */ color: oklch(39.7% 0.093 154.4);
Tailwind
colors: {
  custom: {
    50: '#598668',
    500: '#0c552f',
    950: '#000000',
  },
}
SCSS
$custom: #0c552f;
$custom-light: #598668;
$custom-dark: #000000;
JSON
{
  "hex": "#0c552f",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 47
  },
  "hsl": {
    "h": 148.767,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39715,
    "c": 0.09326,
    "h": 154.4
  },
  "luminance": 0.0678
}

Semantic roles & 50–950 ramp

primary
#0C552F
secondary
#902D60
accent
#3698F2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0C552F

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

Preview Lab → · Contrast checker → · Palette generator →

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