#0C4A14#0C4A14

#0C4A14 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.104 H 144.7°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#0C4A14
RGBrgb(12, 74, 20)
HSLhsl(128, 72%, 17%)
HSVhsv(128, 84%, 29%)
CMYKcmyk(83.8%, 0%, 73%, 71%)
CIE-LABlab(26.81, -31.46, 25.99)
CIE-LCHlch(26.81, 40.81, 140.44°)
OKLaboklab(35.87% -0.085 0.0602)
OKLCHoklch(35.87% 0.104 144.7)
XYZxyz(2.7265, 5.0259, 1.4881)
Luminance0.0503 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A14 #4A0C42
analogous
#234A0C #0C4A14 #0C4A33
triadic
#0C4A14 #140C4A #4A140C
tetradic
#0C4A14 #0C234A #4A0C42 #4A330C
square
#0C4A14 #0C234A #4A0C42 #4A330C
split-complementary
#0C4A14 #330C4A #4A0C23
monochromatic
#041A07 #041A07 #0C4A14 #157F22 #1DB330

Accessibility & contrast

On white

10.47
#0C4A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#0C4A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4A14
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A14#FFFFFF#000000##FFFFFF
##0C4A141.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B420D
Deuteranopia (green-blind)
#453D19
Tritanopia (blue-blind)
#00483F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c4a14;
/* rgb */ color: rgb(12, 74, 20);
/* oklch */ color: oklch(35.9% 0.104 144.7);
Tailwind
colors: {
  custom: {
    50: '#577d54',
    500: '#0c4a14',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a14;
$custom-light: #577d54;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a14",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 20
  },
  "hsl": {
    "h": 127.742,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35866,
    "c": 0.10413,
    "h": 144.7
  },
  "luminance": 0.05026
}

Semantic roles & 50–950 ramp

primary
#0C4A14
secondary
#862C7A
accent
#39D7EF
background
#F5F7F4
surface
#E9EEE8
border
#C5C9C4
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4A14

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

Preview Lab → · Contrast checker → · Palette generator →

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