#0C4B0E#0C4B0E

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

Color values

HEX#0C4B0E
RGBrgb(12, 75, 14)
HSLhsl(122, 72%, 17%)
HSVhsv(122, 84%, 29%)
CMYKcmyk(84%, 0%, 81.3%, 70.6%)
CIE-LABlab(27.13, -32.49, 29.10)
CIE-LCHlch(27.13, 43.61, 138.15°)
OKLaboklab(36.12% -0.0881 0.0659)
OKLCHoklch(36.12% 0.11 143.2)
XYZxyz(2.7468, 5.1417, 1.2631)
Luminance0.0514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B0E #4B0C49
analogous
#2A4B0C #0C4B0E #0C4B2E
triadic
#0C4B0E #0E0C4B #4B0E0C
tetradic
#0C4B0E #0C2A4B #4B0C49 #4B2E0C
square
#0C4B0E #0C2A4B #4B0C49 #4B2E0C
split-complementary
#0C4B0E #2E0C4B #4B0C2A
monochromatic
#041A05 #041A05 #0C4B0E #148018 #1DB522

Accessibility & contrast

On white

10.35
#0C4B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4B0E
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B0E#FFFFFF#000000##FFFFFF
##0C4B0E1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4b0e;
/* rgb */ color: rgb(12, 75, 14);
/* oklch */ color: oklch(36.1% 0.110 143.2);
Tailwind
colors: {
  custom: {
    50: '#587e51',
    500: '#0c4b0e',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b0e;
$custom-light: #587e51;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b0e",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 14
  },
  "hsl": {
    "h": 121.905,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.3612,
    "c": 0.10998,
    "h": 143.2
  },
  "luminance": 0.05142
}

Semantic roles & 50–950 ramp

primary
#0C4B0E
secondary
#872C84
accent
#39E9EF
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0C4B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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