#0C4E14#0C4E14

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

Color values

HEX#0C4E14
RGBrgb(12, 78, 20)
HSLhsl(127, 73%, 18%)
HSVhsv(127, 85%, 31%)
CMYKcmyk(84.6%, 0%, 74.4%, 69.4%)
CIE-LABlab(28.32, -32.98, 27.63)
CIE-LCHlch(28.32, 43.02, 140.04°)
OKLaboklab(37.12% -0.0891 0.0636)
OKLCHoklch(37.12% 0.11 144.5)
XYZxyz(3.0021, 5.5771, 1.5800)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4E14 #4E0C46
analogous
#254E0C #0C4E14 #0C4E35
triadic
#0C4E14 #140C4E #4E140C
tetradic
#0C4E14 #0C254E #4E0C46 #4E350C
square
#0C4E14 #0C254E #4E0C46 #4E350C
split-complementary
#0C4E14 #350C4E #4E0C25
monochromatic
#041B07 #041B07 #0C4E14 #148322 #1CB82F

Accessibility & contrast

On white

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

On black

2.12
#0C4E14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##0C4E14#FFFFFF#000000##FFFFFF
##0C4E141.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4e14;
/* rgb */ color: rgb(12, 78, 20);
/* oklch */ color: oklch(37.1% 0.110 144.5);
Tailwind
colors: {
  custom: {
    50: '#598055',
    500: '#0c4e14',
    950: '#000000',
  },
}
SCSS
$custom: #0c4e14;
$custom-light: #598055;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4e14",
  "rgb": {
    "r": 12,
    "g": 78,
    "b": 20
  },
  "hsl": {
    "h": 127.273,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.3712,
    "c": 0.1095,
    "h": 144.5
  },
  "luminance": 0.05577
}

Semantic roles & 50–950 ramp

primary
#0C4E14
secondary
#8A2C7E
accent
#38DAF0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4E14

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

Preview Lab → · Contrast checker → · Palette generator →

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