#0C5526#0C5526

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

Color values

HEX#0C5526
RGBrgb(12, 85, 38)
HSLhsl(141, 75%, 19%)
HSVhsv(141, 86%, 33%)
CMYKcmyk(85.9%, 0%, 55.3%, 66.7%)
CIE-LABlab(31.15, -33.01, 21.34)
CIE-LCHlch(31.15, 39.31, 147.12°)
OKLaboklab(39.54% -0.0886 0.0517)
OKLCHoklch(39.54% 0.103 149.8)
XYZxyz(3.7497, 6.7146, 2.9318)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5526 #550C3B
analogous
#17550C #0C5526 #0C554B
triadic
#0C5526 #260C55 #55260C
tetradic
#0C5526 #0C1755 #550C3B #554B0C
square
#0C5526 #0C1755 #550C3B #554B0C
split-complementary
#0C5526 #4B0C55 #550C17
monochromatic
#041B0C #041F0E #0C5526 #148B3E #1BC056

Accessibility & contrast

On white

8.96
#0C5526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5526
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5526#FFFFFF#000000##FFFFFF
##0C55261.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c5526;
/* rgb */ color: rgb(12, 85, 38);
/* oklch */ color: oklch(39.5% 0.103 149.8);
Tailwind
colors: {
  custom: {
    50: '#5a8661',
    500: '#0c5526',
    950: '#000000',
  },
}
SCSS
$custom: #0c5526;
$custom-light: #5a8661;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5526",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 38
  },
  "hsl": {
    "h": 141.37,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39539,
    "c": 0.10261,
    "h": 149.8
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#0C5526
secondary
#902D6D
accent
#36AFF2
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0C5526

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

Preview Lab → · Contrast checker → · Palette generator →

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