#0C4B0D#0C4B0D

#0C4B0D is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.1% C 0.111 H 143.0°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#0C4B0D
RGBrgb(12, 75, 13)
HSLhsl(121, 72%, 17%)
HSVhsv(121, 84%, 29%)
CMYKcmyk(84%, 0%, 82.7%, 70.6%)
CIE-LABlab(27.13, -32.58, 29.50)
CIE-LCHlch(27.13, 43.95, 137.84°)
OKLaboklab(36.11% -0.0884 0.0666)
OKLCHoklch(36.11% 0.111 143)
XYZxyz(2.7402, 5.1391, 1.2282)
Luminance0.0514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B0D #4B0C4A
analogous
#2B4B0C #0C4B0D #0C4B2D
triadic
#0C4B0D #0D0C4B #4B0D0C
tetradic
#0C4B0D #0C2B4B #4B0C4A #4B2D0C
square
#0C4B0D #0C2B4B #4B0C4A #4B2D0C
split-complementary
#0C4B0D #2D0C4B #4B0C2B
monochromatic
#041A05 #041A05 #0C4B0D #148016 #1DB51F

Accessibility & contrast

On white

10.36
#0C4B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#0C4B0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4B0D
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B0D#FFFFFF#000000##FFFFFF
##0C4B0D1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4303
Deuteranopia (green-blind)
#463E14
Tritanopia (blue-blind)
#00493F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0c4b0d;
/* rgb */ color: rgb(12, 75, 13);
/* oklch */ color: oklch(36.1% 0.111 143.0);
Tailwind
colors: {
  custom: {
    50: '#587e50',
    500: '#0c4b0d',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b0d;
$custom-light: #587e50;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b0d",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 13
  },
  "hsl": {
    "h": 120.952,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36111,
    "c": 0.11063,
    "h": 143
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#0C4B0D
secondary
#872C85
accent
#39ECEF
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0C4B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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