#0C4C0B#0C4C0B

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

Color values

HEX#0C4C0B
RGBrgb(12, 76, 11)
HSLhsl(119, 75%, 17%)
HSVhsv(119, 86%, 30%)
CMYKcmyk(84.2%, 0%, 85.5%, 70.2%)
CIE-LABlab(27.49, -33.12, 30.65)
CIE-LCHlch(27.49, 45.12, 137.22°)
OKLaboklab(36.41% -0.0899 0.0686)
OKLCHoklch(36.41% 0.113 142.7)
XYZxyz(2.7963, 5.2709, 1.1866)
Luminance0.0527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4C0B #4B0B4C
analogous
#2D4C0B #0C4C0B #0B4C2B
triadic
#0C4C0B #0B0C4C #4C0B0C
tetradic
#0C4C0B #0B2D4C #4B0B4C #4C2B0B
square
#0C4C0B #0B2D4C #4B0B4C #4C2B0B
split-complementary
#0C4C0B #2B0B4C #4C0B2D
monochromatic
#041B04 #041B04 #0C4C0B #148113 #1DB71A

Accessibility & contrast

On white

10.22
#0C4C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4C0B
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4C0B#FFFFFF#000000##FFFFFF
##0C4C0B1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4c0b;
/* rgb */ color: rgb(12, 76, 11);
/* oklch */ color: oklch(36.4% 0.113 142.7);
Tailwind
colors: {
  custom: {
    50: '#587f50',
    500: '#0c4c0b',
    950: '#000000',
  },
}
SCSS
$custom: #0c4c0b;
$custom-light: #587f50;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4c0b",
  "rgb": {
    "r": 12,
    "g": 76,
    "b": 11
  },
  "hsl": {
    "h": 119.077,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36411,
    "c": 0.11313,
    "h": 142.7
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#0C4C0B
secondary
#872B88
accent
#36F1EE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0C4C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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