#0C4A0B#0C4A0B

#0C4A0B is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.8% C 0.111 H 142.7°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#0C4A0B
RGBrgb(12, 74, 11)
HSLhsl(119, 74%, 17%)
HSVhsv(119, 85%, 29%)
CMYKcmyk(83.8%, 0%, 85.1%, 71%)
CIE-LABlab(26.73, -32.38, 29.91)
CIE-LCHlch(26.73, 44.08, 137.27°)
OKLaboklab(35.78% -0.0879 0.0671)
OKLCHoklch(35.78% 0.111 142.7)
XYZxyz(2.6606, 4.9996, 1.1413)
Luminance0.0500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A0B #490B4A
analogous
#2C4A0B #0C4A0B #0B4A2A
triadic
#0C4A0B #0B0C4A #4A0B0C
tetradic
#0C4A0B #0B2C4A #490B4A #4A2A0B
square
#0C4A0B #0B2C4A #490B4A #4A2A0B
split-complementary
#0C4A0B #2A0B4A #4A0B2C
monochromatic
#041B04 #041B04 #0C4A0B #157F13 #1DB51B

Accessibility & contrast

On white

10.50
#0C4A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#0C4A0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4A0B
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A0B#FFFFFF#000000##FFFFFF
##0C4A0B1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4201
Deuteranopia (green-blind)
#453D12
Tritanopia (blue-blind)
#00483E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c4a0b;
/* rgb */ color: rgb(12, 74, 11);
/* oklch */ color: oklch(35.8% 0.111 142.7);
Tailwind
colors: {
  custom: {
    50: '#587d4f',
    500: '#0c4a0b',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a0b;
$custom-light: #587d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a0b",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 11
  },
  "hsl": {
    "h": 119.048,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.3578,
    "c": 0.11061,
    "h": 142.7
  },
  "luminance": 0.05
}

Semantic roles & 50–950 ramp

primary
#0C4A0B
secondary
#852B86
accent
#37F1EE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0C4A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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