#0C4A16#0C4A16

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

Color values

HEX#0C4A16
RGBrgb(12, 74, 22)
HSLhsl(130, 72%, 17%)
HSVhsv(130, 84%, 29%)
CMYKcmyk(83.8%, 0%, 70.3%, 71%)
CIE-LABlab(26.83, -31.21, 25.00)
CIE-LCHlch(26.83, 39.99, 141.30°)
OKLaboklab(35.89% -0.0842 0.0583)
OKLCHoklch(35.89% 0.102 145.3)
XYZxyz(2.7450, 5.0333, 1.5858)
Luminance0.0503 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A16 #4A0C40
analogous
#214A0C #0C4A16 #0C4A35
triadic
#0C4A16 #160C4A #4A160C
tetradic
#0C4A16 #0C214A #4A0C40 #4A350C
square
#0C4A16 #0C214A #4A0C40 #4A350C
split-complementary
#0C4A16 #350C4A #4A0C21
monochromatic
#041A08 #041A08 #0C4A16 #157F26 #1DB335

Accessibility & contrast

On white

10.46
#0C4A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4A16
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A16#FFFFFF#000000##FFFFFF
##0C4A161.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4210
Deuteranopia (green-blind)
#443E1B
Tritanopia (blue-blind)
#00483F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c4a16;
/* rgb */ color: rgb(12, 74, 22);
/* oklch */ color: oklch(35.9% 0.102 145.3);
Tailwind
colors: {
  custom: {
    50: '#577d55',
    500: '#0c4a16',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a16;
$custom-light: #577d55;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a16",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 22
  },
  "hsl": {
    "h": 129.677,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.3589,
    "c": 0.10242,
    "h": 145.3
  },
  "luminance": 0.05034
}

Semantic roles & 50–950 ramp

primary
#0C4A16
secondary
#862C77
accent
#39D1EF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4A16

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

Preview Lab → · Contrast checker → · Palette generator →

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