#0C5528#0C5528

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

Color values

HEX#0C5528
RGBrgb(12, 85, 40)
HSLhsl(143, 75%, 19%)
HSVhsv(143, 86%, 33%)
CMYKcmyk(85.9%, 0%, 52.9%, 66.7%)
CIE-LABlab(31.18, -32.65, 20.23)
CIE-LCHlch(31.18, 38.41, 148.21°)
OKLaboklab(39.57% -0.0877 0.0493)
OKLCHoklch(39.57% 0.101 150.7)
XYZxyz(3.7828, 6.7279, 3.1063)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5528 #550C39
analogous
#14550C #0C5528 #0C554D
triadic
#0C5528 #280C55 #55280C
tetradic
#0C5528 #0C1455 #550C39 #554D0C
square
#0C5528 #0C1455 #550C39 #554D0C
split-complementary
#0C5528 #4D0C55 #550C14
monochromatic
#041B0D #041F0F #0C5528 #148B41 #1BC05A

Accessibility & contrast

On white

8.95
#0C5528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5528
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5528#FFFFFF#000000##FFFFFF
##0C55281.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D24
Deuteranopia (green-blind)
#4D472B
Tritanopia (blue-blind)
#00534A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c5528;
/* rgb */ color: rgb(12, 85, 40);
/* oklch */ color: oklch(39.6% 0.101 150.7);
Tailwind
colors: {
  custom: {
    50: '#5a8663',
    500: '#0c5528',
    950: '#000000',
  },
}
SCSS
$custom: #0c5528;
$custom-light: #5a8663;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5528",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 40
  },
  "hsl": {
    "h": 143.014,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39575,
    "c": 0.10056,
    "h": 150.7
  },
  "luminance": 0.06728
}

Semantic roles & 50–950 ramp

primary
#0C5528
secondary
#902D6A
accent
#36AAF2
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0C5528

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

Preview Lab → · Contrast checker → · Palette generator →

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