#0C5525#0C5525

#0C5525 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.5% C 0.104 H 149.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#0C5525
RGBrgb(12, 85, 37)
HSLhsl(141, 75%, 19%)
HSVhsv(141, 86%, 33%)
CMYKcmyk(85.9%, 0%, 56.5%, 66.7%)
CIE-LABlab(31.13, -33.19, 21.90)
CIE-LCHlch(31.13, 39.76, 146.59°)
OKLaboklab(39.52% -0.0891 0.0529)
OKLCHoklch(39.52% 0.104 149.3)
XYZxyz(3.7337, 6.7083, 2.8480)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5525 #550C3C
analogous
#18550C #0C5525 #0C554A
triadic
#0C5525 #250C55 #55250C
tetradic
#0C5525 #0C1855 #550C3C #554A0C
square
#0C5525 #0C1855 #550C3C #554A0C
split-complementary
#0C5525 #4A0C55 #550C18
monochromatic
#041B0C #041F0E #0C5525 #148B3C #1BC054

Accessibility & contrast

On white

8.97
#0C5525 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#0C5525 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5525
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5525#FFFFFF#000000##FFFFFF
##0C55251.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D21
Deuteranopia (green-blind)
#4E4729
Tritanopia (blue-blind)
#00534A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c5525;
/* rgb */ color: rgb(12, 85, 37);
/* oklch */ color: oklch(39.5% 0.104 149.3);
Tailwind
colors: {
  custom: {
    50: '#5a8660',
    500: '#0c5525',
    950: '#000000',
  },
}
SCSS
$custom: #0c5525;
$custom-light: #5a8660;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5525",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 37
  },
  "hsl": {
    "h": 140.548,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39522,
    "c": 0.10363,
    "h": 149.3
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#0C5525
secondary
#902D6E
accent
#36B2F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B05
muted
#797C79

Preview Lab

Preview with #0C5525

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

Preview Lab → · Contrast checker → · Palette generator →

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