#0C531E#0C531E

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

Color values

HEX#0C531E
RGBrgb(12, 83, 30)
HSLhsl(135, 75%, 19%)
HSVhsv(135, 86%, 33%)
CMYKcmyk(85.5%, 0%, 63.9%, 67.5%)
CIE-LABlab(30.30, -33.55, 24.76)
CIE-LCHlch(30.30, 41.70, 143.57°)
OKLaboklab(38.8% -0.0902 0.0586)
OKLCHoklch(38.8% 0.108 147)
XYZxyz(3.4790, 6.3580, 2.2719)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C531E #530C41
analogous
#1D530C #0C531E #0C5341
triadic
#0C531E #1E0C53 #531E0C
tetradic
#0C531E #0C1D53 #530C41 #53410C
square
#0C531E #0C1D53 #530C41 #53410C
split-complementary
#0C531E #410C53 #530C1D
monochromatic
#041B0A #041E0B #0C531E #148831 #1BBE45

Accessibility & contrast

On white

9.24
#0C531E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C531E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C531E#FFFFFF#000000##FFFFFF
##0C531E1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c531e;
/* rgb */ color: rgb(12, 83, 30);
/* oklch */ color: oklch(38.8% 0.108 147.0);
Tailwind
colors: {
  custom: {
    50: '#59845c',
    500: '#0c531e',
    950: '#000000',
  },
}
SCSS
$custom: #0c531e;
$custom-light: #59845c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c531e",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 30
  },
  "hsl": {
    "h": 135.211,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38798,
    "c": 0.10761,
    "h": 147
  },
  "luminance": 0.06358
}

Semantic roles & 50–950 ramp

primary
#0C531E
secondary
#8E2D75
accent
#36C2F1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0C531E

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

Preview Lab → · Contrast checker → · Palette generator →

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