#0C4809#0C4809

#0C4809 is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.1% C 0.109 H 142.3°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#0C4809
RGBrgb(12, 72, 9)
HSLhsl(117, 78%, 16%)
HSVhsv(117, 88%, 28%)
CMYKcmyk(83.3%, 0%, 87.5%, 71.8%)
CIE-LABlab(25.96, -31.80, 29.92)
CIE-LCHlch(25.96, 43.66, 136.74°)
OKLaboklab(35.13% -0.0865 0.0668)
OKLCHoklch(35.13% 0.109 142.3)
XYZxyz(2.5181, 4.7323, 1.0391)
Luminance0.0473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4809 #450948
analogous
#2B4809 #0C4809 #094825
triadic
#0C4809 #090C48 #48090C
tetradic
#0C4809 #092B48 #450948 #482509
square
#0C4809 #092B48 #450948 #482509
split-complementary
#0C4809 #250948 #48092B
monochromatic
#051B03 #051B03 #0C4809 #157E10 #1EB517

Accessibility & contrast

On white

10.79
#0C4809 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#0C4809 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4809
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4809#FFFFFF#000000##FFFFFF
##0C48091.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#433C10
Tritanopia (blue-blind)
#00463C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c4809;
/* rgb */ color: rgb(12, 72, 9);
/* oklch */ color: oklch(35.1% 0.109 142.3);
Tailwind
colors: {
  custom: {
    50: '#577c4e',
    500: '#0c4809',
    950: '#000000',
  },
}
SCSS
$custom: #0c4809;
$custom-light: #577c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4809",
  "rgb": {
    "r": 12,
    "g": 72,
    "b": 9
  },
  "hsl": {
    "h": 117.143,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35131,
    "c": 0.10925,
    "h": 142.3
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#0C4809
secondary
#812785
accent
#34F4EB
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0C4809

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

Preview Lab → · Contrast checker → · Palette generator →

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