#0C531D#0C531D

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

Color values

HEX#0C531D
RGBrgb(12, 83, 29)
HSLhsl(134, 75%, 19%)
HSVhsv(134, 86%, 33%)
CMYKcmyk(85.5%, 0%, 65.1%, 67.5%)
CIE-LABlab(30.29, -33.70, 25.28)
CIE-LCHlch(30.29, 42.13, 143.12°)
OKLaboklab(38.78% -0.0907 0.0597)
OKLCHoklch(38.78% 0.109 146.7)
XYZxyz(3.4664, 6.3530, 2.2057)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C531D #530C42
analogous
#1E530C #0C531D #0C5340
triadic
#0C531D #1D0C53 #531D0C
tetradic
#0C531D #0C1E53 #530C42 #53400C
square
#0C531D #0C1E53 #530C42 #53400C
split-complementary
#0C531D #400C53 #530C1E
monochromatic
#041B09 #041E0A #0C531D #148830 #1BBE42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C531D#FFFFFF#000000##FFFFFF
##0C531D1.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)
#544B17
Deuteranopia (green-blind)
#4C4521
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0c531d;
/* rgb */ color: rgb(12, 83, 29);
/* oklch */ color: oklch(38.8% 0.109 146.7);
Tailwind
colors: {
  custom: {
    50: '#5a845b',
    500: '#0c531d',
    950: '#000000',
  },
}
SCSS
$custom: #0c531d;
$custom-light: #5a845b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c531d",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 29
  },
  "hsl": {
    "h": 134.366,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38784,
    "c": 0.10854,
    "h": 146.7
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#0C531D
secondary
#8E2D77
accent
#36C5F1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0C531D

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

Preview Lab → · Contrast checker → · Palette generator →

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