#0C5320#0C5320

#0C5320 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.8% C 0.106 H 147.7°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#0C5320
RGBrgb(12, 83, 32)
HSLhsl(137, 75%, 19%)
HSVhsv(137, 86%, 33%)
CMYKcmyk(85.5%, 0%, 61.4%, 67.5%)
CIE-LABlab(30.32, -33.24, 23.71)
CIE-LCHlch(30.32, 40.83, 144.50°)
OKLaboklab(38.83% -0.0893 0.0565)
OKLCHoklch(38.83% 0.106 147.7)
XYZxyz(3.5053, 6.3685, 2.4107)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5320 #530C3F
analogous
#1B530C #0C5320 #0C5343
triadic
#0C5320 #200C53 #53200C
tetradic
#0C5320 #0C1B53 #530C3F #53430C
square
#0C5320 #0C1B53 #530C3F #53430C
split-complementary
#0C5320 #430C53 #530C1B
monochromatic
#041B0A #041E0B #0C5320 #148835 #1BBE49

Accessibility & contrast

On white

9.24
#0C5320 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#0C5320 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5320
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5320#FFFFFF#000000##FFFFFF
##0C53201.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B1B
Deuteranopia (green-blind)
#4C4524
Tritanopia (blue-blind)
#005148
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0c5320;
/* rgb */ color: rgb(12, 83, 32);
/* oklch */ color: oklch(38.8% 0.106 147.7);
Tailwind
colors: {
  custom: {
    50: '#59845d',
    500: '#0c5320',
    950: '#000000',
  },
}
SCSS
$custom: #0c5320;
$custom-light: #59845d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5320",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 32
  },
  "hsl": {
    "h": 136.901,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38828,
    "c": 0.10572,
    "h": 147.7
  },
  "luminance": 0.06369
}

Semantic roles & 50–950 ramp

primary
#0C5320
secondary
#8E2D73
accent
#36BDF1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0C5320

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

Preview Lab → · Contrast checker → · Palette generator →

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