#0C4C19#0C4C19

#0C4C19 is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.6% C 0.103 H 146.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#0C4C19
RGBrgb(12, 76, 25)
HSLhsl(132, 73%, 17%)
HSVhsv(132, 84%, 30%)
CMYKcmyk(84.2%, 0%, 67.1%, 70.2%)
CIE-LABlab(27.62, -31.57, 24.33)
CIE-LCHlch(27.62, 39.86, 142.38°)
OKLaboklab(36.56% -0.0851 0.0572)
OKLCHoklch(36.56% 0.103 146.1)
XYZxyz(2.9113, 5.3169, 1.7923)
Luminance0.0532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4C19 #4C0C3F
analogous
#1F4C0C #0C4C19 #0C4C39
triadic
#0C4C19 #190C4C #4C190C
tetradic
#0C4C19 #0C1F4C #4C0C3F #4C390C
square
#0C4C19 #0C1F4C #4C0C3F #4C390C
split-complementary
#0C4C19 #390C4C #4C0C1F
monochromatic
#041A09 #041A09 #0C4C19 #14812A #1DB63C

Accessibility & contrast

On white

10.18
#0C4C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#0C4C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4C19
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4C19#FFFFFF#000000##FFFFFF
##0C4C191.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4413
Deuteranopia (green-blind)
#463F1D
Tritanopia (blue-blind)
#004A41
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4c19;
/* rgb */ color: rgb(12, 76, 25);
/* oklch */ color: oklch(36.6% 0.103 146.1);
Tailwind
colors: {
  custom: {
    50: '#587f58',
    500: '#0c4c19',
    950: '#000000',
  },
}
SCSS
$custom: #0c4c19;
$custom-light: #587f58;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4c19",
  "rgb": {
    "r": 12,
    "g": 76,
    "b": 25
  },
  "hsl": {
    "h": 132.188,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36556,
    "c": 0.10251,
    "h": 146.1
  },
  "luminance": 0.05317
}

Semantic roles & 50–950 ramp

primary
#0C4C19
secondary
#882C75
accent
#38CAEF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4C19

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

Preview Lab → · Contrast checker → · Palette generator →

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