#0C5322#0C5322

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

Color values

HEX#0C5322
RGBrgb(12, 83, 34)
HSLhsl(139, 75%, 19%)
HSVhsv(139, 86%, 33%)
CMYKcmyk(85.5%, 0%, 59%, 67.5%)
CIE-LABlab(30.35, -32.92, 22.63)
CIE-LCHlch(30.35, 39.95, 145.49°)
OKLaboklab(38.86% -0.0884 0.0543)
OKLCHoklch(38.86% 0.104 148.5)
XYZxyz(3.5333, 6.3797, 2.5583)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5322 #530C3D
analogous
#19530C #0C5322 #0C5345
triadic
#0C5322 #220C53 #53220C
tetradic
#0C5322 #0C1953 #530C3D #53450C
square
#0C5322 #0C1953 #530C3D #53450C
split-complementary
#0C5322 #450C53 #530C19
monochromatic
#041B0B #041E0C #0C5322 #148838 #1BBE4E

Accessibility & contrast

On white

9.23
#0C5322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5322
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5322#FFFFFF#000000##FFFFFF
##0C53221.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c5322;
/* rgb */ color: rgb(12, 83, 34);
/* oklch */ color: oklch(38.9% 0.104 148.5);
Tailwind
colors: {
  custom: {
    50: '#59845e',
    500: '#0c5322',
    950: '#000000',
  },
}
SCSS
$custom: #0c5322;
$custom-light: #59845e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5322",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 34
  },
  "hsl": {
    "h": 138.592,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38859,
    "c": 0.10377,
    "h": 148.5
  },
  "luminance": 0.0638
}

Semantic roles & 50–950 ramp

primary
#0C5322
secondary
#8E2D70
accent
#36B7F1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0C5322

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

Preview Lab → · Contrast checker → · Palette generator →

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