#0C4B1D#0C4B1D

#0C4B1D is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.3% C 0.097 H 147.7°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#0C4B1D
RGBrgb(12, 75, 29)
HSLhsl(136, 72%, 17%)
HSVhsv(136, 84%, 29%)
CMYKcmyk(84%, 0%, 61.3%, 70.6%)
CIE-LABlab(27.29, -30.57, 21.76)
CIE-LCHlch(27.29, 37.52, 144.56°)
OKLaboklab(36.3% -0.0822 0.052)
OKLCHoklch(36.3% 0.097 147.7)
XYZxyz(2.8892, 5.1987, 2.0133)
Luminance0.0520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B1D #4B0C3A
analogous
#1B4B0C #0C4B1D #0C4B3D
triadic
#0C4B1D #1D0C4B #4B1D0C
tetradic
#0C4B1D #0C1B4B #4B0C3A #4B3D0C
square
#0C4B1D #0C1B4B #4B0C3A #4B3D0C
split-complementary
#0C4B1D #3D0C4B #4B0C1B
monochromatic
#041A0A #041A0A #0C4B1D #148031 #1DB546

Accessibility & contrast

On white

10.30
#0C4B1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#0C4B1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4B1D
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B1D#FFFFFF#000000##FFFFFF
##0C4B1D1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4319
Deuteranopia (green-blind)
#453E21
Tritanopia (blue-blind)
#004941
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0c4b1d;
/* rgb */ color: rgb(12, 75, 29);
/* oklch */ color: oklch(36.3% 0.097 147.7);
Tailwind
colors: {
  custom: {
    50: '#577e5a',
    500: '#0c4b1d',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b1d;
$custom-light: #577e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b1d",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 29
  },
  "hsl": {
    "h": 136.19,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36303,
    "c": 0.09726,
    "h": 147.7
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

primary
#0C4B1D
secondary
#872C6E
accent
#39BEEF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0C4B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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