#0C5524#0C5524

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

Color values

HEX#0C5524
RGBrgb(12, 85, 36)
HSLhsl(140, 75%, 19%)
HSVhsv(140, 86%, 33%)
CMYKcmyk(85.9%, 0%, 57.6%, 66.7%)
CIE-LABlab(31.12, -33.36, 22.44)
CIE-LCHlch(31.12, 40.21, 146.07°)
OKLaboklab(39.51% -0.0896 0.054)
OKLCHoklch(39.51% 0.105 148.9)
XYZxyz(3.7182, 6.7021, 2.7664)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5524 #550C3D
analogous
#19550C #0C5524 #0C5549
triadic
#0C5524 #240C55 #55240C
tetradic
#0C5524 #0C1955 #550C3D #55490C
square
#0C5524 #0C1955 #550C3D #55490C
split-complementary
#0C5524 #490C55 #550C19
monochromatic
#041B0B #041F0D #0C5524 #148B3B #1BC051

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C5524#FFFFFF#000000##FFFFFF
##0C55241.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)
#564D20
Deuteranopia (green-blind)
#4E4728
Tritanopia (blue-blind)
#00534A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c5524;
/* rgb */ color: rgb(12, 85, 36);
/* oklch */ color: oklch(39.5% 0.105 148.9);
Tailwind
colors: {
  custom: {
    50: '#5a8660',
    500: '#0c5524',
    950: '#000000',
  },
}
SCSS
$custom: #0c5524;
$custom-light: #5a8660;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5524",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 36
  },
  "hsl": {
    "h": 139.726,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39505,
    "c": 0.10462,
    "h": 148.9
  },
  "luminance": 0.06703
}

Semantic roles & 50–950 ramp

primary
#0C5524
secondary
#902D6F
accent
#36B4F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B05
muted
#797C79

Preview Lab

Preview with #0C5524

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

Preview Lab → · Contrast checker → · Palette generator →

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