#0C4E13#0C4E13

#0C4E13 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.1% C 0.110 H 144.2°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#0C4E13
RGBrgb(12, 78, 19)
HSLhsl(126, 73%, 18%)
HSVhsv(126, 85%, 31%)
CMYKcmyk(84.6%, 0%, 75.6%, 69.4%)
CIE-LABlab(28.31, -33.09, 28.09)
CIE-LCHlch(28.31, 43.41, 139.67°)
OKLaboklab(37.11% -0.0895 0.0645)
OKLCHoklch(37.11% 0.11 144.2)
XYZxyz(2.9933, 5.5736, 1.5340)
Luminance0.0557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4E13 #4E0C47
analogous
#264E0C #0C4E13 #0C4E34
triadic
#0C4E13 #130C4E #4E130C
tetradic
#0C4E13 #0C264E #4E0C47 #4E340C
square
#0C4E13 #0C264E #4E0C47 #4E340C
split-complementary
#0C4E13 #340C4E #4E0C26
monochromatic
#041B06 #041B06 #0C4E13 #148320 #1CB82D

Accessibility & contrast

On white

9.93
#0C4E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#0C4E13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4E13
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4E13#FFFFFF#000000##FFFFFF
##0C4E131.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460A
Deuteranopia (green-blind)
#484119
Tritanopia (blue-blind)
#004C42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4e13;
/* rgb */ color: rgb(12, 78, 19);
/* oklch */ color: oklch(37.1% 0.110 144.2);
Tailwind
colors: {
  custom: {
    50: '#598054',
    500: '#0c4e13',
    950: '#000000',
  },
}
SCSS
$custom: #0c4e13;
$custom-light: #598054;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4e13",
  "rgb": {
    "r": 12,
    "g": 78,
    "b": 19
  },
  "hsl": {
    "h": 126.364,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.3711,
    "c": 0.11028,
    "h": 144.2
  },
  "luminance": 0.05574
}

Semantic roles & 50–950 ramp

primary
#0C4E13
secondary
#8A2C80
accent
#38DCF0
background
#F5F7F5
surface
#E9EEE8
border
#C5C9C4
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4E13

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

Preview Lab → · Contrast checker → · Palette generator →

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