#0C5324#0C5324

#0C5324 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.102 H 149.3°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#0C5324
RGBrgb(12, 83, 36)
HSLhsl(140, 75%, 19%)
HSVhsv(140, 86%, 33%)
CMYKcmyk(85.5%, 0%, 56.6%, 67.5%)
CIE-LABlab(30.38, -32.57, 21.54)
CIE-LCHlch(30.38, 39.05, 146.53°)
OKLaboklab(38.89% -0.0875 0.052)
OKLCHoklch(38.89% 0.102 149.3)
XYZxyz(3.5630, 6.3916, 2.7146)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5324 #530C3B
analogous
#17530C #0C5324 #0C5347
triadic
#0C5324 #240C53 #53240C
tetradic
#0C5324 #0C1753 #530C3B #53470C
square
#0C5324 #0C1753 #530C3B #53470C
split-complementary
#0C5324 #470C53 #530C17
monochromatic
#041B0C #041E0D #0C5324 #14883B #1BBE52

Accessibility & contrast

On white

9.22
#0C5324 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#0C5324 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5324
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5324#FFFFFF#000000##FFFFFF
##0C53241.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B20
Deuteranopia (green-blind)
#4C4528
Tritanopia (blue-blind)
#005148
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0c5324;
/* rgb */ color: rgb(12, 83, 36);
/* oklch */ color: oklch(38.9% 0.102 149.3);
Tailwind
colors: {
  custom: {
    50: '#598460',
    500: '#0c5324',
    950: '#000000',
  },
}
SCSS
$custom: #0c5324;
$custom-light: #598460;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5324",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 36
  },
  "hsl": {
    "h": 140.282,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38892,
    "c": 0.10176,
    "h": 149.3
  },
  "luminance": 0.06392
}

Semantic roles & 50–950 ramp

primary
#0C5324
secondary
#8E2D6D
accent
#36B2F1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B05
muted
#797C79

Preview Lab

Preview with #0C5324

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

Preview Lab → · Contrast checker → · Palette generator →

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