#0C5328#0C5328

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

Color values

HEX#0C5328
RGBrgb(12, 83, 40)
HSLhsl(144, 75%, 19%)
HSVhsv(144, 86%, 33%)
CMYKcmyk(85.5%, 0%, 51.8%, 67.5%)
CIE-LABlab(30.44, -31.84, 19.30)
CIE-LCHlch(30.44, 37.23, 148.77°)
OKLaboklab(38.96% -0.0855 0.0472)
OKLCHoklch(38.96% 0.098 151.1)
XYZxyz(3.6276, 6.4174, 3.0546)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5328 #530C37
analogous
#13530C #0C5328 #0C534B
triadic
#0C5328 #280C53 #53280C
tetradic
#0C5328 #0C1353 #530C37 #534B0C
square
#0C5328 #0C1353 #530C37 #534B0C
split-complementary
#0C5328 #4B0C53 #530C13
monochromatic
#041B0D #041E0E #0C5328 #148842 #1BBE5C

Accessibility & contrast

On white

9.20
#0C5328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5328
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5328#FFFFFF#000000##FFFFFF
##0C53281.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c5328;
/* rgb */ color: rgb(12, 83, 40);
/* oklch */ color: oklch(39.0% 0.098 151.1);
Tailwind
colors: {
  custom: {
    50: '#598462',
    500: '#0c5328',
    950: '#000000',
  },
}
SCSS
$custom: #0c5328;
$custom-light: #598462;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5328",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 40
  },
  "hsl": {
    "h": 143.662,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38964,
    "c": 0.09766,
    "h": 151.1
  },
  "luminance": 0.06418
}

Semantic roles & 50–950 ramp

primary
#0C5328
secondary
#8E2D68
accent
#36A8F1
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0C5328

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

Preview Lab → · Contrast checker → · Palette generator →

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