#0C4819#0C4819

#0C4819 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.3% C 0.097 H 146.5°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#0C4819
RGBrgb(12, 72, 25)
HSLhsl(133, 71%, 16%)
HSVhsv(133, 83%, 28%)
CMYKcmyk(83.3%, 0%, 65.3%, 71.8%)
CIE-LABlab(26.11, -29.99, 22.58)
CIE-LCHlch(26.11, 37.54, 143.03°)
OKLaboklab(35.3% -0.0808 0.0534)
OKLCHoklch(35.3% 0.097 146.5)
XYZxyz(2.6443, 4.7828, 1.7033)
Luminance0.0478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4819 #480C3B
analogous
#1D480C #0C4819 #0C4837
triadic
#0C4819 #190C48 #48190C
tetradic
#0C4819 #0C1D48 #480C3B #48370C
square
#0C4819 #0C1D48 #480C3B #48370C
split-complementary
#0C4819 #370C48 #480C1D
monochromatic
#041A09 #041A09 #0C4819 #157C2B #1DB13D

Accessibility & contrast

On white

10.73
#0C4819 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#0C4819 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4819
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4819#FFFFFF#000000##FFFFFF
##0C48191.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494114
Deuteranopia (green-blind)
#423C1D
Tritanopia (blue-blind)
#00463E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0c4819;
/* rgb */ color: rgb(12, 72, 25);
/* oklch */ color: oklch(35.3% 0.097 146.5);
Tailwind
colors: {
  custom: {
    50: '#567c57',
    500: '#0c4819',
    950: '#000000',
  },
}
SCSS
$custom: #0c4819;
$custom-light: #567c57;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4819",
  "rgb": {
    "r": 12,
    "g": 72,
    "b": 25
  },
  "hsl": {
    "h": 133,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35302,
    "c": 0.09684,
    "h": 146.5
  },
  "luminance": 0.04783
}

Semantic roles & 50–950 ramp

primary
#0C4819
secondary
#842C71
accent
#3AC7EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C4819

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

Preview Lab → · Contrast checker → · Palette generator →

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