#0C531F#0C531F

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

Color values

HEX#0C531F
RGBrgb(12, 83, 31)
HSLhsl(136, 75%, 19%)
HSVhsv(136, 86%, 33%)
CMYKcmyk(85.5%, 0%, 62.7%, 67.5%)
CIE-LABlab(30.31, -33.40, 24.24)
CIE-LCHlch(30.31, 41.27, 144.03°)
OKLaboklab(38.81% -0.0898 0.0576)
OKLCHoklch(38.81% 0.107 147.3)
XYZxyz(3.4919, 6.3632, 2.3402)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C531F #530C40
analogous
#1C530C #0C531F #0C5342
triadic
#0C531F #1F0C53 #531F0C
tetradic
#0C531F #0C1C53 #530C40 #53420C
square
#0C531F #0C1C53 #530C40 #53420C
split-complementary
#0C531F #420C53 #530C1C
monochromatic
#041B0A #041E0B #0C531F #148833 #1BBE47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C531F#FFFFFF#000000##FFFFFF
##0C531F1.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)
#544B1A
Deuteranopia (green-blind)
#4C4523
Tritanopia (blue-blind)
#005148
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0c531f;
/* rgb */ color: rgb(12, 83, 31);
/* oklch */ color: oklch(38.8% 0.107 147.3);
Tailwind
colors: {
  custom: {
    50: '#59845c',
    500: '#0c531f',
    950: '#000000',
  },
}
SCSS
$custom: #0c531f;
$custom-light: #59845c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c531f",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 31
  },
  "hsl": {
    "h": 136.056,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38813,
    "c": 0.10667,
    "h": 147.3
  },
  "luminance": 0.06364
}

Semantic roles & 50–950 ramp

primary
#0C531F
secondary
#8E2D74
accent
#36BFF1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0C531F

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

Preview Lab → · Contrast checker → · Palette generator →

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