#0C501E#0C501E

#0C501E is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.103 H 147.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#0C501E
RGBrgb(12, 80, 30)
HSLhsl(136, 74%, 18%)
HSVhsv(136, 85%, 31%)
CMYKcmyk(85%, 0%, 62.5%, 68.6%)
CIE-LABlab(29.18, -32.39, 23.45)
CIE-LCHlch(29.18, 39.98, 144.09°)
OKLaboklab(37.87% -0.0871 0.0558)
OKLCHoklch(37.87% 0.103 147.4)
XYZxyz(3.2544, 5.9088, 2.1970)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C501E #500C3E
analogous
#1C500C #0C501E #0C5040
triadic
#0C501E #1E0C50 #501E0C
tetradic
#0C501E #0C1C50 #500C3E #50400C
square
#0C501E #0C1C50 #500C3E #50400C
split-complementary
#0C501E #400C50 #500C1C
monochromatic
#041B0A #041B0A #0C501E #148532 #1CBA46

Accessibility & contrast

On white

9.63
#0C501E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#0C501E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C501E
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C501E#FFFFFF#000000##FFFFFF
##0C501E1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514819
Deuteranopia (green-blind)
#494322
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0c501e;
/* rgb */ color: rgb(12, 80, 30);
/* oklch */ color: oklch(37.9% 0.103 147.4);
Tailwind
colors: {
  custom: {
    50: '#59825b',
    500: '#0c501e',
    950: '#000000',
  },
}
SCSS
$custom: #0c501e;
$custom-light: #59825b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c501e",
  "rgb": {
    "r": 12,
    "g": 80,
    "b": 30
  },
  "hsl": {
    "h": 135.882,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37872,
    "c": 0.10342,
    "h": 147.4
  },
  "luminance": 0.05909
}

Semantic roles & 50–950 ramp

primary
#0C501E
secondary
#8B2C72
accent
#37C0F1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0C501E

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

Preview Lab → · Contrast checker → · Palette generator →

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