#0C5529#0C5529

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

Color values

HEX#0C5529
RGBrgb(12, 85, 41)
HSLhsl(144, 75%, 19%)
HSVhsv(144, 86%, 33%)
CMYKcmyk(85.9%, 0%, 51.8%, 66.7%)
CIE-LABlab(31.20, -32.46, 19.67)
CIE-LCHlch(31.20, 37.95, 148.78°)
OKLaboklab(39.59% -0.0872 0.0481)
OKLCHoklch(39.59% 0.1 151.1)
XYZxyz(3.8000, 6.7348, 3.1971)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5529 #550C38
analogous
#13550C #0C5529 #0C554E
triadic
#0C5529 #290C55 #55290C
tetradic
#0C5529 #0C1355 #550C38 #554E0C
square
#0C5529 #0C1355 #550C38 #554E0C
split-complementary
#0C5529 #4E0C55 #550C13
monochromatic
#041B0D #041F0F #0C5529 #148B43 #1BC05D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C5529#FFFFFF#000000##FFFFFF
##0C55291.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)
#554D26
Deuteranopia (green-blind)
#4D472C
Tritanopia (blue-blind)
#00534B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c5529;
/* rgb */ color: rgb(12, 85, 41);
/* oklch */ color: oklch(39.6% 0.100 151.1);
Tailwind
colors: {
  custom: {
    50: '#5a8663',
    500: '#0c5529',
    950: '#000000',
  },
}
SCSS
$custom: #0c5529;
$custom-light: #5a8663;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5529",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 41
  },
  "hsl": {
    "h": 143.836,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39593,
    "c": 0.09954,
    "h": 151.1
  },
  "luminance": 0.06735
}

Semantic roles & 50–950 ramp

primary
#0C5529
secondary
#902D69
accent
#36A7F2
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0C5529

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

Preview Lab → · Contrast checker → · Palette generator →

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