#0C4B1E#0C4B1E

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

Color values

HEX#0C4B1E
RGBrgb(12, 75, 30)
HSLhsl(137, 72%, 17%)
HSVhsv(137, 84%, 29%)
CMYKcmyk(84%, 0%, 60%, 70.6%)
CIE-LABlab(27.31, -30.40, 21.21)
CIE-LCHlch(27.31, 37.07, 145.10°)
OKLaboklab(36.32% -0.0817 0.0509)
OKLCHoklch(36.32% 0.096 148.1)
XYZxyz(2.9018, 5.2037, 2.0795)
Luminance0.0520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B1E #4B0C39
analogous
#1A4B0C #0C4B1E #0C4B3E
triadic
#0C4B1E #1E0C4B #4B1E0C
tetradic
#0C4B1E #0C1A4B #4B0C39 #4B3E0C
square
#0C4B1E #0C1A4B #4B0C39 #4B3E0C
split-complementary
#0C4B1E #3E0C4B #4B0C1A
monochromatic
#041A0B #041A0B #0C4B1E #148033 #1DB548

Accessibility & contrast

On white

10.29
#0C4B1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4B1E
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B1E#FFFFFF#000000##FFFFFF
##0C4B1E1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4b1e;
/* rgb */ color: rgb(12, 75, 30);
/* oklch */ color: oklch(36.3% 0.096 148.1);
Tailwind
colors: {
  custom: {
    50: '#577e5b',
    500: '#0c4b1e',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b1e;
$custom-light: #577e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b1e",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 30
  },
  "hsl": {
    "h": 137.143,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36319,
    "c": 0.09626,
    "h": 148.1
  },
  "luminance": 0.05204
}

Semantic roles & 50–950 ramp

primary
#0C4B1E
secondary
#872C6D
accent
#39BBEF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0C4B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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