#0C4605#0C4605

#0C4605 is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.5% C 0.109 H 141.6°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#0C4605
RGBrgb(12, 70, 5)
HSLhsl(114, 87%, 15%)
HSVhsv(114, 93%, 27%)
CMYKcmyk(82.9%, 0%, 92.9%, 72.5%)
CIE-LABlab(25.17, -31.38, 30.78)
CIE-LCHlch(25.17, 43.96, 135.55°)
OKLaboklab(34.46% -0.0856 0.0679)
OKLCHoklch(34.46% 0.109 141.6)
XYZxyz(2.3690, 4.4692, 0.8813)
Luminance0.0447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4605 #3F0546
analogous
#2D4605 #0C4605 #05461E
triadic
#0C4605 #050C46 #46050C
tetradic
#0C4605 #052D46 #3F0546 #461E05
square
#0C4605 #052D46 #3F0546 #461E05
split-complementary
#0C4605 #1E0546 #46052D
monochromatic
#051D02 #051D02 #0C4605 #167F09 #20B80D

Accessibility & contrast

On white

11.09
#0C4605 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#0C4605 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4605
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4605#FFFFFF#000000##FFFFFF
##0C46051.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483E00
Deuteranopia (green-blind)
#423A0D
Tritanopia (blue-blind)
#00433A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c4605;
/* rgb */ color: rgb(12, 70, 5);
/* oklch */ color: oklch(34.5% 0.109 141.6);
Tailwind
colors: {
  custom: {
    50: '#577a4c',
    500: '#0c4605',
    950: '#000000',
  },
}
SCSS
$custom: #0c4605;
$custom-light: #577a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4605",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 5
  },
  "hsl": {
    "h": 113.538,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34464,
    "c": 0.10923,
    "h": 141.6
  },
  "luminance": 0.04469
}

Semantic roles & 50–950 ramp

primary
#0C4605
secondary
#7B2186
accent
#2BFDE6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040901
muted
#797B77

Preview Lab

Preview with #0C4605

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

Preview Lab → · Contrast checker → · Palette generator →

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