#0C5329#0C5329

#0C5329 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.097 H 151.6°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#0C5329
RGBrgb(12, 83, 41)
HSLhsl(145, 75%, 19%)
HSVhsv(145, 86%, 33%)
CMYKcmyk(85.5%, 0%, 50.6%, 67.5%)
CIE-LABlab(30.46, -31.64, 18.73)
CIE-LCHlch(30.46, 36.77, 149.37°)
OKLaboklab(38.98% -0.085 0.0459)
OKLCHoklch(38.98% 0.097 151.6)
XYZxyz(3.6448, 6.4243, 3.1453)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5329 #530C36
analogous
#12530C #0C5329 #0C534C
triadic
#0C5329 #290C53 #53290C
tetradic
#0C5329 #0C1253 #530C36 #534C0C
square
#0C5329 #0C1253 #530C36 #534C0C
split-complementary
#0C5329 #4C0C53 #530C12
monochromatic
#041B0D #041E0F #0C5329 #148843 #1BBE5E

Accessibility & contrast

On white

9.19
#0C5329 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#0C5329 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5329
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5329#FFFFFF#000000##FFFFFF
##0C53291.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B26
Deuteranopia (green-blind)
#4B452C
Tritanopia (blue-blind)
#005249
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0c5329;
/* rgb */ color: rgb(12, 83, 41);
/* oklch */ color: oklch(39.0% 0.097 151.6);
Tailwind
colors: {
  custom: {
    50: '#598463',
    500: '#0c5329',
    950: '#000000',
  },
}
SCSS
$custom: #0c5329;
$custom-light: #598463;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5329",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 41
  },
  "hsl": {
    "h": 144.507,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38984,
    "c": 0.09662,
    "h": 151.6
  },
  "luminance": 0.06425
}

Semantic roles & 50–950 ramp

primary
#0C5329
secondary
#8E2D66
accent
#36A5F1
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0C5329

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

Preview Lab → · Contrast checker → · Palette generator →

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