#0C500E#0C500E

#0C500E is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.116 H 143.1°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#0C500E
RGBrgb(12, 80, 14)
HSLhsl(122, 74%, 18%)
HSVhsv(122, 85%, 31%)
CMYKcmyk(85%, 0%, 82.5%, 68.6%)
CIE-LABlab(29.02, -34.32, 30.99)
CIE-LCHlch(29.02, 46.24, 137.92°)
OKLaboklab(37.69% -0.0931 0.0698)
OKLCHoklch(37.69% 0.116 143.1)
XYZxyz(3.0993, 5.8468, 1.3806)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C500E #500C4E
analogous
#2C500C #0C500E #0C5030
triadic
#0C500E #0E0C50 #500E0C
tetradic
#0C500E #0C2C50 #500C4E #50300C
square
#0C500E #0C2C50 #500C4E #50300C
split-complementary
#0C500E #300C50 #500C2C
monochromatic
#041B05 #041B05 #0C500E #148517 #1CBA21

Accessibility & contrast

On white

9.68
#0C500E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#0C500E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C500E
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C500E#FFFFFF#000000##FFFFFF
##0C500E1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524802
Deuteranopia (green-blind)
#4A4215
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0c500e;
/* rgb */ color: rgb(12, 80, 14);
/* oklch */ color: oklch(37.7% 0.116 143.1);
Tailwind
colors: {
  custom: {
    50: '#598252',
    500: '#0c500e',
    950: '#000000',
  },
}
SCSS
$custom: #0c500e;
$custom-light: #598252;
$custom-dark: #000000;
JSON
{
  "hex": "#0c500e",
  "rgb": {
    "r": 12,
    "g": 80,
    "b": 14
  },
  "hsl": {
    "h": 121.765,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37689,
    "c": 0.11633,
    "h": 143.1
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#0C500E
secondary
#8B2C89
accent
#37EBF1
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0C500E

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

Preview Lab → · Contrast checker → · Palette generator →

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