#0C4C09#0C4C09

#0C4C09 is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.4% C 0.114 H 142.3°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#0C4C09
RGBrgb(12, 76, 9)
HSLhsl(117, 79%, 17%)
HSVhsv(117, 88%, 30%)
CMYKcmyk(84.2%, 0%, 88.2%, 70.2%)
CIE-LABlab(27.48, -33.27, 31.37)
CIE-LCHlch(27.48, 45.72, 136.68°)
OKLaboklab(36.4% -0.0904 0.0698)
OKLCHoklch(36.4% 0.114 142.3)
XYZxyz(2.7852, 5.2664, 1.1281)
Luminance0.0527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4C09 #49094C
analogous
#2E4C09 #0C4C09 #094C28
triadic
#0C4C09 #090C4C #4C090C
tetradic
#0C4C09 #092E4C #49094C #4C2809
square
#0C4C09 #092E4C #49094C #4C2809
split-complementary
#0C4C09 #28094C #4C092E
monochromatic
#041B03 #041B03 #0C4C09 #15830F #1DB916

Accessibility & contrast

On white

10.23
#0C4C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#0C4C09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4C09
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4C09#FFFFFF#000000##FFFFFF
##0C4C091.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4400
Deuteranopia (green-blind)
#473F11
Tritanopia (blue-blind)
#004940
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4c09;
/* rgb */ color: rgb(12, 76, 9);
/* oklch */ color: oklch(36.4% 0.114 142.3);
Tailwind
colors: {
  custom: {
    50: '#597f4f',
    500: '#0c4c09',
    950: '#000000',
  },
}
SCSS
$custom: #0c4c09;
$custom-light: #597f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4c09",
  "rgb": {
    "r": 12,
    "g": 76,
    "b": 9
  },
  "hsl": {
    "h": 117.313,
    "s": 78.824,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36397,
    "c": 0.11425,
    "h": 142.3
  },
  "luminance": 0.05267
}

Semantic roles & 50–950 ramp

primary
#0C4C09
secondary
#852889
accent
#33F5ED
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0C4C09

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

Preview Lab → · Contrast checker → · Palette generator →

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