#0C531C#0C531C

#0C531C is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.109 H 146.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#0C531C
RGBrgb(12, 83, 28)
HSLhsl(134, 75%, 19%)
HSVhsv(134, 86%, 33%)
CMYKcmyk(85.5%, 0%, 66.3%, 67.5%)
CIE-LABlab(30.27, -33.84, 25.80)
CIE-LCHlch(30.27, 42.55, 142.68°)
OKLaboklab(38.77% -0.0911 0.0607)
OKLCHoklch(38.77% 0.109 146.3)
XYZxyz(3.4542, 6.3481, 2.1416)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C531C #530C43
analogous
#1F530C #0C531C #0C533F
triadic
#0C531C #1C0C53 #531C0C
tetradic
#0C531C #0C1F53 #530C43 #533F0C
square
#0C531C #0C1F53 #530C43 #533F0C
split-complementary
#0C531C #3F0C53 #530C1F
monochromatic
#041B09 #041E0A #0C531C #14882E #1BBE40

Accessibility & contrast

On white

9.25
#0C531C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C531C
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C531C#FFFFFF#000000##FFFFFF
##0C531C1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B16
Deuteranopia (green-blind)
#4C4521
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0c531c;
/* rgb */ color: rgb(12, 83, 28);
/* oklch */ color: oklch(38.8% 0.109 146.3);
Tailwind
colors: {
  custom: {
    50: '#5a845a',
    500: '#0c531c',
    950: '#000000',
  },
}
SCSS
$custom: #0c531c;
$custom-light: #5a845a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c531c",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 28
  },
  "hsl": {
    "h": 133.521,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38771,
    "c": 0.10945,
    "h": 146.3
  },
  "luminance": 0.06349
}

Semantic roles & 50–950 ramp

primary
#0C531C
secondary
#8E2D78
accent
#36C7F1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0C531C

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

Preview Lab → · Contrast checker → · Palette generator →

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