#0C4F11#0C4F11

#0C4F11 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.113 H 143.7°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#0C4F11
RGBrgb(12, 79, 17)
HSLhsl(124, 74%, 18%)
HSVhsv(124, 85%, 31%)
CMYKcmyk(84.8%, 0%, 78.5%, 69%)
CIE-LABlab(28.67, -33.68, 29.37)
CIE-LCHlch(28.67, 44.69, 138.90°)
OKLaboklab(37.4% -0.0911 0.0669)
OKLCHoklch(37.4% 0.113 143.7)
XYZxyz(3.0486, 5.7102, 1.4717)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F11 #4F0C4A
analogous
#284F0C #0C4F11 #0C4F33
triadic
#0C4F11 #110C4F #4F110C
tetradic
#0C4F11 #0C284F #4F0C4A #4F330C
square
#0C4F11 #0C284F #4F0C4A #4F330C
split-complementary
#0C4F11 #330C4F #4F0C28
monochromatic
#041B06 #041B06 #0C4F11 #14841C #1CB928

Accessibility & contrast

On white

9.80
#0C4F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#0C4F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4F11
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4F11#FFFFFF#000000##FFFFFF
##0C4F111.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514707
Deuteranopia (green-blind)
#494217
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0c4f11;
/* rgb */ color: rgb(12, 79, 17);
/* oklch */ color: oklch(37.4% 0.113 143.7);
Tailwind
colors: {
  custom: {
    50: '#598153',
    500: '#0c4f11',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f11;
$custom-light: #598153;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f11",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 17
  },
  "hsl": {
    "h": 124.478,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37403,
    "c": 0.11305,
    "h": 143.7
  },
  "luminance": 0.05711
}

Semantic roles & 50–950 ramp

primary
#0C4F11
secondary
#8B2C83
accent
#38E2F0
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4F11

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

Preview Lab → · Contrast checker → · Palette generator →

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